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

[Bug 3083] [XSLT] escape-uri-attributes or include-content-type specified for xml output method

From: <bugzilla@wiggum.w3.org>
Date: Fri, 05 May 2006 08:38:17 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FbvpJ-0007Pc-FV@wiggum.w3.org>


------- Comment #1 from mike@saxonica.com  2006-05-05 08:38 -------
The WG agreed that this should be an error and asked the editor to draft
suitable text, checking first that all similar consistency issues are handled
in the same way.

I think the general rule should be: if the xsl:output method is explicitly
specified, and if a value is explicitly specified for a serialization parameter
that is not applicable to this output method, then:

* if the xsl:output declaration defining the output method has higher import
precedence than the declaration specifying the inapplicable parameter, the
inapplicable parameter is ignored [the reason for this rule is that it
otherwise becomes impossible for an importing stylesheet to change the output

* otherwise a static error (XTST1565) is signaled.

This applies to the following combinations:

Method       Inapplicable parameters
======       =======================

XML          escape-uri-attributes, include-content-type

XHTML        (none)

HTML         omit-xml-declaration, standalone

TEXT         version, indent, cdata-section-elements, 
             omit-xml-declaration, standalone, 
             doctype-system, doctype-public,
             undeclare-prefixes, escape-uri-attributes,

Michael Kay 
Received on Friday, 5 May 2006 08:38:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:12 UTC