![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Diamond problem using extensions and substitution groups >Thread Next - Schema Not working Comparing lists to singletonsTo: <xmlschema-dev@--.---> Date: 8/18/2006 4:30:00 PM For the purpose of XML Schema identity constraints (for example key/keyref), is the NMTOKENS value "x" equal to the NMTOKEN value "x"? It depends on the definition of "equal" in XML Schema Part 2 section 4.2.1. But the definitions there don't shed much light: they discuss union types but not list types. It comes down to whether a sequence whose only item is the string "x" is the same value (=value-space member) as the string "x", and I don't see a statement on that anywhere. The published test results (e.g. idc_NMTOKENS_Name.xml) show the result as not equal, but with XSV and Xerces showing equal. Michael Kay http://www.saxonica.com/ From BRS@i... Tue Aug 22 09:58:10 2006 Received | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
