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 2933 - Character escaping in namespaceDecl-23
Summary: Character escaping in namespaceDecl-23
Status: RESOLVED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 18:21 UTC by Jerome Simeon
Modified: 2006-02-24 17:17 UTC (History)
0 users

See Also:


Attachments

Description Jerome Simeon 2006-02-23 18:21:51 UTC
namespaceDecl-23

  The query is defining the namespace abc with URI "abc&".
  The XQuery specs indicates that URI literals are not character
  normalized:

<< The value of a URILiteral is whitespace-normalized according to the
rules for the xs:anyURI type in [XML Schema]; however, no escaping
normalization is applied. >>

  So the URI is "abc&amp;". After serialization however, the result
  should be:

  "abc&amp;amp;"

  instead of "abc&amp;" which is what is currently in the expected
  result.

  so that the document can be parsed back with the appropriate
  semantics.

- Jerome
Comment 1 Andrew Eisenberg 2006-02-24 17:17:19 UTC
This area was clarified by the WGs in
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2462.
I believe this supports the test case as it is written.

Pleas close this bug if you agree with this response.