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 2370 - fn-codepoints-to-string-1 is a valid query
Summary: fn-codepoints-to-string-1 is a valid query
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 22:20 UTC by Michael Kay
Modified: 2006-06-22 12:56 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-18 22:20:06 UTC
fn-codepoints-to-string-1 is supposed to fail, but it's perfectly valid. 60 is
the codepoint of a valid XML character (the less-than sign)
Comment 1 Joanne Tong 2005-10-19 18:51:02 UTC
Reassigning this bug to Carmelo.  The catalog says I wrote it, but I did not.  
CVS log indicates that 'cmontane' committed this file.  I assume this is 
Carmelo.
Comment 2 Carmelo Montanez 2005-10-21 20:18:39 UTC
Mike:

Changed test changed to use:

fn:codepoints-to-string(5)

Will write other tests for other illegal characters as well as surrogate 
blocks.  Also changed the test author (not yet reflected on catalog).
Plase close bug if in agreement.

Carmelo
Comment 3 Michael Kay 2005-10-21 20:39:35 UTC
5 is a valid codepoint in XML 1.1, which processors can support if they choose.
It would be better to use values such as 0 and 10000000 which are always illegal.
Comment 4 Carmelo Montanez 2005-10-24 14:53:35 UTC
Thanks Mike.  Used "0" instead. May write extra tests.

Carmelo