Hi Folks, Consider these two element declarations: <element name="A" type="anySimpleType" /> <element name="B" type="anyAtomicType" /> This is my understanding of the difference between anySimpleType and anyAtomicType: The value of <A> can be any primitive type or a list type, e.g. <A xsi:type="xs:string">Hello World</A> <A xsi:type="xs:decimal">12.39</A> <A xsi:type="xs:boolean">true</A> <A xsi:type="ex:LotteryNumbers">3 8 19</A> where ex:LotteryNumbers is defined as a list type: <xs:simpleType name="LotteryNumbers"> <xs:list itemType="xs:positiveInteger" /> </xs:simpleType> The value of <B> can only be a primitive type, e.g. <B xsi:type="xs:string">Hello World</B> <B xsi:type="xs:decimal">12.39</B> <B xsi:type="xs:boolean">true</B> Thus, the difference between anyAtomicType and anySimpleType is that an anySimpleType value can be a list type, whereas that's not legal for anyAtomicType. Correct? /RogerReceived on Tuesday, 14 July 2009 19:47:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 July 2009 19:47:59 GMT