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

[Bug 5275] 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-ComputeConAttr-48

From: <bugzilla@wiggum.w3.org>
Date: Mon, 19 Nov 2007 14:57:33 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Iu845-0002PR-FM@wiggum.w3.org>

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

           Summary: 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-
                    ComputeConAttr-48
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            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


In queries Constr-attr-id-2, Constr-compattr-id-2 and K2-ComputeConAttr-48, the
error XQDY0091 may be raised.

After normalization and collapsing of whitespace, these attributes have value
'ab c d' - not valid NCNames.

"An implementation MAY raise a dynamic error if an xml:id error, as defined in
[XML ID], is encountered during construction of an attribute named xml:id."

http://www.w3.org/TR/xml-id/#processing

"The normalized value of the attribute is an NCName according to the Namespaces
in XML Recommendation which has the same version as the document in which this
attribute occurs (NCName for XML 1.0, or NCName for XML 1.1)."

(: Name: Constr-attr-id 2 :)
(: Written by: Andreas Behm :)
(: Description: attribute xml:id - content is to be further normalized :)

<elem xml:id="    a{'b    c


d','        '}"/>
Received on Monday, 19 November 2007 14:57:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:21 UTC