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 26823 - use-character-maps can not be set from the prolog
Summary: use-character-maps can not be set from the prolog
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 21:14 UTC by Josh Spiegel
Modified: 2014-11-19 00:13 UTC (History)
0 users

See Also:


Attachments

Description Josh Spiegel 2014-09-16 21:14:18 UTC
From XQuery 3.0, Section 2.2.4:

"There is no output declaration for use-character-maps, it can be set only by means of a parameter document."

And:

"[err:XQST0109] "if the local name of an output declaration in the http://www.w3.org/2010/xslt-xquery-serialization namespace is not one of the serialization parameter names listed in C.1 Static Context Components or parameter-document, or if the name of an output declaration is use-character-maps"


Tests Serialization-001 and Serialization-023 include output:use-character-maps in the prolog but do not expect XQST0109. 

I propose that:

(1) The use-character-maps declaration in Serialization-001 should be removed.

(2) The expected result of Serialization-023 should not allow <result>ok</result> or SEPM0016.  Instead it should only allow XQST0109.

Link to the test file that contains these tests:

http://dev.w3.org/cvsweb/~checkout~/2011/QT3-test-suite/prod/OptionDecl.serialization.xml?rev=1.18;content-type=application%2Fxml
Comment 1 Josh Spiegel 2014-11-19 00:13:18 UTC
Fixed as suggested.