xml schema 中ID门类

xml schema 中ID类型xml schema 中ID类型 4 分钟前 提问者: ifanlong | 悬赏分:10 | 浏览次数:3次schema中

xml schema 中ID类型
xml schema 中ID类型 4 分钟前 提问者: ifanlong | 悬赏分:10 | 浏览次数:3次
schema中定义如下: 
<element name ="deviceID">
 <simpleType>
 <restriction base = "xs:ID">
<pattern value = "\d{20}"/>
</restriction>
</simpleType>
</element>
 
我发现xs:ID是非数字的字符类型,而\d{20}是连续的20个数字,这不矛盾吗 
哪位大神解释一下
谢谢 
[解决办法]
哀木有人啊木有人