W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 19 Jan 2007 12:04:17 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H7sTh-0004aP-Aw@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC