W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2016

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 May 2016 09:30:48 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29664-523@http.www.w3.org/Bugs/Public/>

            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
                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

This archive was generated by hypermail 2.3.1 : Thursday, 26 May 2016 09:31:11 UTC