[Bug 13890] New: Assertion xpaths starting with '//' should return empty sequence

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

           Summary: Assertion xpaths starting with '//' should return
                    empty sequence
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IBM tests
        AssignedTo: cmsmcq@blackmesatech.com
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-xml-schema-testsuite@w3.org


IBM "assertion" tests "d4_3_15v14" and "d4_3_15v15" are expected to be valid.
The XPaths use "//":

        <xs:assert test="count(//ele1) eq 1"/>
and
        <xs:assert test="count(//@attr1) eq 1"/>

Based on the clarification from bug 12127, paths starting with '/' or '//'
return the empty sequence, which means the above assertions will always fail.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 24 August 2011 15:34:47 UTC