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

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

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

<quote>
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.
</quote>

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

<quote>
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.
</quote>

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