W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2016

[Bug 29703] New: [SER31] Bring the yes/ no etc of the serialization-parameters schema in line with the way booleans are treated in XSLT 's xsl:output

From: <bugzilla@jessica.w3.org>
Date: Thu, 23 Jun 2016 10:14:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29703-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29703

            Bug ID: 29703
           Summary: [SER31] Bring the yes/no etc of the
                    serialization-parameters schema in line with the way
                    booleans are treated in XSLT's xsl:output
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

About two years ago, XSLT adopted a change for boolean-style attributes
(yes/no, true/false etc) to all accept the logical values of "yes", "true" and
1 and "no", "false" and 0 respectively, which works better with shadow
attributes and auto-generated stylesheets.

For instance, <xsl:output omit-xml-declaration="false" /> or <xsl:output
standalone="0" /> are allowed.

The serialization spec, in particular the serialization-parameters schema, was
never brought in line with this. I think we should, it is just odd that
referencing an external document for your settings accepts different values
than xsl:output and xsl:result-document.

The parameters this applies to are:
- indent
- omit-xml-declaration
- standalone
- undeclare-prefixes
- byte-order-mark
- include-content-type
- allow-duplicate-names

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 23 June 2016 10:14:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC