This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In the first edition of XQuery 1.0, section 3.7.1.2 [Namespace Declaration Attributes] said: The value of a namespace declaration attribute must be a URILiteral; otherwise a static error is raised [err:XQST0022]. In response to Bug 5083, erratum XQ.E13 changed this to: The value of the namespace declaration attribute (a DirAttributeValue) is processed as follows. If the DirAttributeValue contains an EnclosedExpr, a static error is raised [err:XQST0022]. and that's how it appears in 3.7.1.2 in XQuery 1.0 second edition. All that is fine. However, in Appendix F [Error Conditions], the recap of XQST0022 still reflects the definition from the first edition: It is a static error if a namespace declaration attribute contains an EnclosedExpr. XQ.E13 should have changed it to (something like): It is a static error if the DirAttributeValue of a namespace declaration attribute contains an EnclosedExpr. (Note that XQuery 3.0 already has more-or-less this change, since the 2011-07-17 WD.)
Whoops, this is a duplicate of Bug 11986.
*** This bug has been marked as a duplicate of bug 11986 ***