W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2007

"Minimum" options for serialization

From: Alex Milowski <alex@milowski.org>
Date: Wed, 18 Jul 2007 08:18:05 -0700
Message-ID: <28d56ece0707180818s354a86ffmc9a58799431fc00a@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

The serialization spec [1] is very clear on which parameters can be
ignored and which ones must be implemented.  This information on
parameters (options to our steps) are specific to the serialization
method.

For example, the 'xml' output method sections says for the
'omit-xml-declaration' parameter:

"The XML output method MUST output an XML declaration if the
omit-xml-declaration
  parameter has the value no. ..."

where for the 'html' method it says:

"The omit-xml-declaration and standalone parameters are not applicable
  to the HTML output method."

As such, I think we require our implementors to follow the letter of the
serialization specification.

This means I can't define a minimum set except without duplicating
the text in the serialization specification.

I plan on having a separate section for serialization options.  I can clarify
all this in that section and then each of the steps that have serialization
options can point to that section.

[1] http://www.w3.org/TR/xslt-xquery-serialization/

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 18 July 2007 15:18:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT