【发布时间】:2015-04-24 11:11:11
【问题描述】:
在 EBUCore 架构 (http://en.wikipedia.org/wiki/Metadata_standards) 中有一个名为“版本”的属性定义为
<attribute name="version" default="1.5">
<annotation>
<documentation> The version of the schema for e.g. OAI management.</documentation>
</annotation>
</attribute>
如您所见,没有为它定义“类型”,我想知道它的默认类型是什么 - anyType, anySimpleType, string, float, double, ...
W3C 规范 (http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#section-Built-in-Simple-Type-Definition) 有点难以通过:
··简单的 ur-type 定义·被认为是无约束的 词法空间和由值的并集组成的值空间 所有内置原始数据类型的空间和所有的集合 所有内置原语的值空间的所有成员的列表 数据类型。
那么,也许有人可以告诉我,将此属性映射到哪种类型?
【问题讨论】: