[Bug 5893] [XSLT 2.0] Allow explicit setting of doctype-system and doctype-public to null

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5893


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Serialization 1.1           |XSLT 2.0
            Summary|[SER] Allow explicit setting|[XSLT 2.0] Allow explicit
                   |of doctype-system and       |setting of doctype-system
                   |doctype-public to null      |and doctype-public to null




--- Comment #1 from Michael Kay <mike@saxonica.com>  2008-08-01 08:55:41 ---
I'm reclassifying this as an XSLT problem. In fact, I'm classifying it as XSLT
2.0 on the basis that there is a facility in the serialization spec that XSLT
2.0 cannot fully exploit. The serialization spec *does* define that
doctype-public or doctype-system can be set to "absent", the problem is that
XSLT provides no surface syntax for setting this option.

I would like to suggest an erratum along the following lines: that in
xsl:output and also in xsl:result-document, the value "" (a zero-length string)
for doctype-system or doctype-public maps to the setting described in the
Serialization spec as "absent", with the same effect as if the attribute were
not specified, except that it overrides any other value for the attribute that
would otherwise take effect.

We could generalize this and apply the same rule to all attributes of
xsl:output and xsl:result-document: a setting of "" is equivalent to omitting
the attribute except that it overrides any other setting.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 1 August 2008 08:56:20 UTC