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 4964 - [XQTS] XQueryX tests expansion of carriage return
Summary: [XQTS] XQueryX tests expansion of carriage return
Status: CLOSED FIXED
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: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 14:29 UTC by Oliver Hallam
Modified: 2007-09-25 12:56 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2007-08-20 14:29:32 UTC
In the XQueryX version of tests that contain carriage return (#xD) characters, the characters are expanded out into character references (
).

This causes problems in the XQuery tests that expect #xD#xA to be normalized to a single new line (#xA) character for example, as the XQuery versions have 
#xA which does not get normalized.

Here is a list of tests that are affected by this expansion:
K2-Literals-28
Constr-cont-eol-1
Constr-cont-eol-2
Constr-ws-tag-7
Constr-ws-tag-9
Constr-ws-enclexpr-14
Constr-ws-enclexpr-17
Constr-ws-enclexpr-20
Constr-ws-enclexpr-23
Constr-ws-nobound-2
Constr-ws-nobound-5
Constr-ws-adjchref-2
Constr-ws-adjcdata-2
K2-DirectConOther-50
K2-DirectConOther-51
K2-DirectConOther-52
boundary-space-011
boundary-space-012
boundary-space-013
boundary-space-014
Comment 1 Andrew Eisenberg 2007-08-23 20:30:18 UTC
This problem has been fixed as you suggest. The version of XQTS_current.zip
committed earlier today reflects these changes.

Please close this bug report if you agree with this resolution.

Comment 2 Oliver Hallam 2007-08-30 10:23:27 UTC
All the tests listed have been fixed, exept for K2-Literals-28

This contains several 
 character references in a string literal that should have been normalized to #x10s.
Comment 3 Andrew Eisenberg 2007-09-08 17:27:02 UTC
Good catch. K2-Literals-28 has been fixed as you suggest. The version of XQTS_current.zip committed earlier today reflects these changes.

Please close this bug report if you agree with this resolution.

Comment 4 Oliver Hallam 2007-09-25 12:56:41 UTC
Thanks