This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
The editors propose the following changes: 1 The third bullet item in the list at the beginning of section 9 should change from: 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. to: 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. The node is serialized with the serialization parameter omit-xml-declaration set to yes and with no other serialization parameters set. 2 The following sentence should be inserted into section 9.1, before the heading for section 9.1.1: 9.1: When nodes are serialized using the JSON output method, serialization is delegated to the output method specified by the json-node-output-method serialization parameter. The omit-xml-declaration parameter is set to 'yes', and no other serialization parameters are passed down to the serialization method responsible for serializing the node.
At the meeting on 2016-07-19, the WG agreed to adopt the proposal in comment #1. The changes have now been applied