W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2013

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 12 Sep 2013 19:00:48 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-23227-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:53 UTC