Support for XSLT 2.0 + XPath 2.0

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Future Project
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: xml

      A DESCRIPTION OF THE REQUEST :
      For years, XSLT 2.0 + XPath 2.0 are W3C recommendations now. Unfortunately, the JRE comes with a XSLT processor which is not implementing these new versions of XSLT and XPath. As there is a lot of features added in 2.0, it would be really cool to have an updated XSLT implementation shipping with the JRE.

      JUSTIFICATION :
      Using the 2.0 features, one can write much more complex algorithms with much less code. For example, there now are "real" loops instead of stack-limited recursion, and functions implemented in XSLT can be called from XPath instead of putting a xsl:call-template into a xsl:variable and using that variable in xsl:value-of. XSLT became a really useful programming language in 2.0, and now is the time to support this in Java.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JAXP RI can execute 100% of XSLT 2.0 + XPath 2.0 mandatory features.
      ACTUAL -
      JAXP RI can not execute 100% of XSLT 2.0 + XPath 2.0 mandatory features.

      CUSTOMER SUBMITTED WORKAROUND :
      Configure JAXP to use a third party JAXP implementation like SAXON. This is not always an option due to three reasons:

      (1) Costs. SAXON is only free when using a limited set of options.

      (2) Complexity. SAXON must be installed manually ontop of the JRE.

      (3) Overhead. SAXON is one more library that must get shipped with your application.

            Assignee:
            Unassigned
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: