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
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1GtC7Q-0008N1-9i@wiggum.w3.org>


           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="@*"/>

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:48 UTC