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 11109 - K-VersionProlog-5
Summary: K-VersionProlog-5
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.3
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 16:14 UTC by Michael Kay
Modified: 2011-01-12 12:07 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2010-10-20 16:14:29 UTC
This test starts with the declaration:

xquery version "1.0" encoding "ISO-8859";

It seems reasonable for a processor to reject this as an unknown encoding. We don't define a specific error code for this situation, but the specification does say that the handling of encodings is implementation-dependent.
Comment 1 Benjamin Nguyen 2011-01-04 12:05:20 UTC
I think that the purpose of this test is not to test the reaction to ISO-8859 (or is it ?)

What would you think of changing the declaration to ISO-8859-1 or UTF-8 ?
Comment 2 Michael Kay 2011-01-04 15:16:49 UTC
I think changing it to ISO-8859-1 would be reasonable. Processors aren't obliged to support this encoding but it's likely that most will.
Comment 3 Benjamin Nguyen 2011-01-12 12:07:29 UTC
I have made the change to Expressions/PrologExpr/VersionProlog/K-VersionProlog-5.xq as proposed, and updated the CVS.