有关:XBRL可以从XML/JSON的争论中学到什么?
2009-07-09 08:58
501 查看
最近Charles Hoffman在yahoo的xbrl-dev讨论组发了一贴“Can XBRL Learn from the XML/JSON Debate? ”。引起了广泛的讨论。出现了不同的看法和意见,有兴趣的可以登录讨论组阅读。大致的观点有:
(1) 使用XML还是JSON作为XBRL数据载体,只是以什么形式“serialization”序列化的问题范畴;如果有良好的内容模型,形式不是主要问题。讨论的关键是要有一个:completeness/usefulness/redundancy of the XBRL model
(2) 讲到内容模型,有提及tuple和dimension。 有人就极力反对使用dimension,因为这增加了XBRL复杂性,为XBRL的推广增加的阻力(US GAAP分类标准使用dimension)。也有人给了折中的意见。
Tuples: group facts together. That means that a good use of a tuple is when
you group facts that makes sense to be grouped together.
Dimensions: add properties to fact items. That means that a good use of a
dimension is when the property can be shared across multiple different item
declarations.
IMO, there is no point in thinking that tuples and dimensions are
interchangeable. The only way to make them interchangeable is by doing an
extreme interpretation of the two modeling techniques:
- Using dimensions instead of tuples is like defining a property ?I
belong to a group?. So the group is a virtual property of the facts.
- Using tuples instead of dimensions is like grouping together
redundant information (defining thousands of tuples and then reusing the
same tuple members several times).
Fortunately nobody has ever tried the second option but the first option is
IMHO also a mistaken approach.
Tuples and dimensions can live together because they are different things.
Cheers,
(3) 统一一致的内容模型,有助于数据和软件本身的互操作行。
....
(1) 使用XML还是JSON作为XBRL数据载体,只是以什么形式“serialization”序列化的问题范畴;如果有良好的内容模型,形式不是主要问题。讨论的关键是要有一个:completeness/usefulness/redundancy of the XBRL model
(2) 讲到内容模型,有提及tuple和dimension。 有人就极力反对使用dimension,因为这增加了XBRL复杂性,为XBRL的推广增加的阻力(US GAAP分类标准使用dimension)。也有人给了折中的意见。
Tuples: group facts together. That means that a good use of a tuple is when
you group facts that makes sense to be grouped together.
Dimensions: add properties to fact items. That means that a good use of a
dimension is when the property can be shared across multiple different item
declarations.
IMO, there is no point in thinking that tuples and dimensions are
interchangeable. The only way to make them interchangeable is by doing an
extreme interpretation of the two modeling techniques:
- Using dimensions instead of tuples is like defining a property ?I
belong to a group?. So the group is a virtual property of the facts.
- Using tuples instead of dimensions is like grouping together
redundant information (defining thousands of tuples and then reusing the
same tuple members several times).
Fortunately nobody has ever tried the second option but the first option is
IMHO also a mistaken approach.
Tuples and dimensions can live together because they are different things.
Cheers,
(3) 统一一致的内容模型,有助于数据和软件本身的互操作行。
....
相关文章推荐
- 可以传递多种数据格式AMFPHP,代替json和xml传输数据
- C/C++使用libcurl库发送http请求(get和post可以用于请求html信息,也可以请求xml和json等串)
- XML是什么,它可以做什么?——写给XML入门者 .
- XML和JSON分别是什么?JSON有什么好处?
- kbmmw 中XML 操作入门(跨平台,而且可以与JSON,YAML,BSON 直接互相转换)
- golang gob 有什么优势? gob/protobuf/json/xml 效率对比,benchmark 压力测试
- Can XBRL Learn from the XML/JSON Debate? (Charles Hoffman)
- C/C++使用libcurl库发送http请求(get和post可以用于请求html信息,也可以请求xml和json等串)
- XML是什么,它可以做什么?——写给XML入门者
- rest接口返回是比较灵活的,可以根据请求者的需求返回xml,json,string等格式
- 我们可以从Alexa语音助手的错误中学到什么:用户对话界面的设计性挑战
- JSON和XML有什么区别?
- 我们可以从WWDC 2016中学到什么?
- xStream完美转换XML、JSON xStream框架 xStream可以轻易的将Java对象和xml文档相互转换,而且可以修改某个特定的属性和节点名称,而且也支持json的转换; 前面有介
- XStream实现xml和java对象之间的互相转换(包括对属性,别名,下划线_的处理),同理JSON也可以
- XML是什么,它可以做什么?——写给XML入门者
- XML是什么,它可以做什么?——写给XML入门者
- XML数据解析方式各有什么不同,JSON解析有哪些框架?
- XML是什么,它可以做什么?——写给XML入门者
- XML是什么与可以做什么