Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8058152 JDK accepts XSLT stylesheet having import element erroneously placed
  3. JDK-8175123

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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: