[Bug 29919] New: [XSLT30] Effect of use-when on xsl:package

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

            Bug ID: 29919
           Summary: [XSLT30] Effect of use-when on xsl:package
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In section 3.13.1 Conditional Element Inclusion we mention the following about
its use on xsl:stylesheet and xsl:transform:

"If the xsl:stylesheet or xsl:transform element itself is effectively excluded,
the effect is to exclude all the children of the xsl:stylesheet or
xsl:transform element, but not the xsl:stylesheet or xsl:transform element or
its attributes."

It seems to make sense to include xsl:package here as well. I don't necessarily
see a use-case for it (but I don't see one for xsl:stylesheet/xsl:transform
either), but neither do I see how otherwise a package is supposed to behave if
use-when="false()" on xsl:package.

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

Received on Thursday, 6 October 2016 22:43:43 UTC