W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > August 2011

[Bug 13919] CTA tests exceeds required XPath subset

From: <bugzilla@jessica.w3.org>
Date: Fri, 26 Aug 2011 16:28:01 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1QwzGD-0001vq-Gu@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13919

--- Comment #3 from Sandy Gao <sandygao@ca.ibm.com> 2011-08-26 16:28:00 UTC ---
It turned out that constructor functions are supported by the subset.

s3_12v07 (No change. Constructor function.)

s3_12v09
    <xs:alternative test="@country = us" ...
    <xs:alternative test="@country = can" ...
become
    <xs:alternative test="@country = 'us'" ...
    <xs:alternative test="@country = 'can'" ...

s3_12v10
    <xs:alternative test="@end-time le 10" ...
    <xs:alternative test="@end-time gt 10" ...
become
    <xs:alternative test="@end-time &lt;= 10" ...
    <xs:alternative test="@end-time > 10" ...

s3_12v11 (No change. Constructor function.)

s3_12ii03 (No change. Constructor function.)

s3_12ii06
    <xs:alternative test="(@kind cast as messageTypeString)='string'" ...
become
    <xs:alternative test="@kind cast as messageTypeString='string'" ...

typeAlternatives_001
    <xs:alternative test="@kind = ('square', 'rectangle')" ...
become
    <xs:alternative test="@kind = 'square' or @kind = 'rectangle'" ...

typeAlternatives_004
    <xs:alternative test="@a = true()">
become
    <xs:alternative test="@a cast as xs:boolean">

typeAlternatives_005
    <xs:alternative test="@kind eq 'NNI'" ...
become
    <xs:alternative test="@kind = 'NNI'" ...

typeAlternatives_006
    <xs:alternative test="@minimal eq true()" ...
    <xs:alternative test="@minimal cast as xs:boolean" ...

vc_006
    <xs:alternative test="@v2 = true()" ...
becomes
    <xs:alternative test="@v2 cast as xs:boolean" ...

-- 
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 Friday, 26 August 2011 16:28:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 26 August 2011 16:28:03 GMT