[Bug 26823] New: use-character-maps can not be set from the prolog

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26823

            Bug ID: 26823
           Summary: use-character-maps can not be set from the prolog
           Product: XML Query Test Suite
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
          Assignee: benjie.nguyen@gmail.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org

>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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 16 September 2014 21:14:19 UTC