[Bug 23227] New: [XT30] xsl:output

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

            Bug ID: 23227
           Summary: [XT30] xsl:output
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

Suppose we have an XSLT 2.0 stylesheet xhtml.xsl which has an xsl:output
declaration specifying HTML output with the DOCTYPE public and system
identifiers from XHTML Strict 1.0.

At a later date, we try to reuse this stylesheet via an xsl:import, but change
the output to be HTML 5, with a DOCTYPE of the form <!DOCTYPE HTML> (I.e. no
system or public identifier).  For this to happen, the doctype-public and
doctype-system properties must be absent in the xsl:output declaration.

This appears to be impossible since the doctype-public and doctype-system
properties can't be reset to be absent in the importing stylesheet.  They will
have values merged from the imported xhtml.xsl.

(I believe that specifying doctype-system="" does not have effect of making it
absent, but rather sets it o the empty string.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 12 September 2013 19:00:53 UTC