[Bug 13919] CTA tests exceeds required XPath subset

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 UTC