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

[Bug 29933] [XSLT30] Discrepancy between serialization spec and XSLT spec on undeclare-prefixes

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Oct 2016 14:22:18 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29933-523-GFOsFUSTEW@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
There is one difference between the specs which is, I think, deliberate: XSLT
3.0 says

There are some serialization parameters that apply to some output methods but
not to others. For example, the indent attribute has no effect on the text
output method. If a value is supplied for an attribute that is inapplicable to
the output method, its value is not passed to the serializer. The processor may
validate the value of such an attribute, but is not required to do so.

which means in effect that you have the option of ignoring "inapplicable"
parameters even though the serialization spec says you can't.

In general though the mistake for undeclare-prefixes is that we say anything at
all. Most of the descriptions of serialization parameters under xsl:output
simply say something like

The value of the omit-xml-declaration attribute provides the value of the
omit-xml-declaration parameter to the serialization method. The default value
is no.

and we should do the same here.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 13 October 2016 14:22:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC