This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5275 - 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-ComputeConAttr-48
Summary: 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-ComputeConAttr-48
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
: 6990 (view as bug list)
Depends on:
Reported: 2007-11-19 14:57 UTC by Tim Mills
Modified: 2009-06-03 12:53 UTC (History)
1 user (show)

See Also:


Description Tim Mills 2007-11-19 14:57:33 UTC
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."

"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','        '}"/>
Comment 1 Tim Mills 2007-11-30 15:12:13 UTC
Thanks.  That's fixed in CVS revision 1.90.
Comment 2 Bogdan Butnaru 2009-06-03 12:53:07 UTC
*** Bug 6990 has been marked as a duplicate of this bug. ***