Release Note: XSLT stylesheets with erroneously placed import elements are now rejected

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: xml

      In accordance with XSL Transformations (XSLT) Version 1.0 (http://www.w3.org/TR/xslt), the `xsl:import` element is only allowed as a top-level element. The `xsl:import` element children must precede all other element children of an `xsl:stylesheet` element, including any `xsl:include` element children.

      The JDK implementation has previously allowed the `xsl:import` element erroneously placed anywhere in a stylesheet. This issue has been fixed in the JDK 9 release. The JDK implementation now rejects any XSLT stylesheets with erroneously placed import elements.

            Assignee:
            Joe Wang
            Reporter:
            Roger Calnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: