[Bug 4264] K2-ComputeConAttr-5 vs. K2-ComputeConAttr-35

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

           Summary: K2-ComputeConAttr-5 vs. K2-ComputeConAttr-35
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


When in boundary space mode "strip", can the expected result both of these
tests be correct?

If empty CDATA sections generate an empty sequence, then no content appears
before the computed attribute and neither test should throw XQTY0024.

If empty CDATA sections generate an empty text node, then both tests should
throw XQTY0024.

(:*******************************************************:)
(: Test: K2-ComputeConAttr-35                            :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-15T15:15:44+01:00                       :)
(: Purpose: Empty CDATA sections generate no text nodes. :)
(:*******************************************************:)
<elem><![CDATA[]]>{attribute name {"content"}}<alem/>
</elem>

(:*******************************************************:)
(: Test: K2-ComputeConAttr-5                             :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-15T15:15:44+01:00                       :)
(: Purpose: Ensure XQTY0024 is issued when content appears before computed
attri
butes. :)
(:*******************************************************:)
<elem>
                <![CDATA[]]>
                {attribute name {"content"}}
</elem>

Received on Friday, 19 January 2007 12:04:26 UTC