W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > December 2006

[Bug 4061] IdentityConstraint test idL100: field selects more than one node

From: <bugzilla@wiggum.w3.org>
Date: Sun, 10 Dec 2006 00:00:36 +0000
CC:
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1GtC7Q-0008N1-9i@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4061

           Summary: IdentityConstraint test idL100: field selects more than
                    one node
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org


In the Microsoft IdentityConstraint test set, test idL100, the schema has:

                <xs:key id="foo123" name="tableu">
                        <xs:selector xpath=".//myNS:t | .//myNS:u"/>
                        <xs:field xpath="@*"/>
                </xs:key>

and the instance has:

<myNS:t myNS:row="1" xsi:nil="true"/>

The field selector @* therefore selects two attributes, which makes it invalid.

The test is described as valid. Perhaps there is some theory that the XPath
expression will not select the xsi:nil attribute. I can't find any
justification for this theory, however.
Received on Sunday, 10 December 2006 00:00:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:55 GMT