[Bug 29664] New: [SER31] 9.1.17 JSON Output Method: the json-node-output-method Parameter

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

            Bug ID: 29664
           Summary: [SER31] 9.1.17 JSON Output Method: the
                    json-node-output-method Parameter
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
               URL: https://www.w3.org/XML/Group/qtspecs/specifications/xs
                    lt-xquery-serialization-31/html/Overview.html#JSON_JSO
                    N-NODE-OUTPUT-METHOD
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In this section we read

"A node in the data model instance is serialized to a JSON string by outputting
the result of serializing the node using the method specified by the
json-node-output-method parameter. If the json-node-output-method parameter is
set to xml or xhtml then the node is serialized with the additional
serialization parameter omit-xml-declaration set to yes."

It's not clear whether the serialization settings for the chosen
json-node-output-method are inherited from those of the (active) JSON output
method, or take default values for the selected node output method.

Is there a reason for not always requiring that omit-xml-declaration is always
set to "yes", since it has no effect on the "html" or "text"?   It seems
unlikely that implementation-defined serialization methods would wish to
include an XML declaration.

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

Received on Thursday, 26 May 2016 09:31:10 UTC