https://bz.apache.org/bugzilla/show_bug.cgi?id=64649

            Bug ID: 64649
           Summary: XSLT transformation - document('') doesn't return
                    stylesheet
           Product: Taglibs
           Version: nightly
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Standard Taglib
          Assignee: dev@tomcat.apache.org
          Reporter: spoesc...@irt.de
  Target Milestone: ---

Created attachment 37384
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37384&action=edit
Minimal test case JSP

According to ยง 12.1 of the W3C XSLT 1.0 spec, "document("") refers to the root
node of the stylesheet".

However using JSP and the standard taglib, an empty sequence is returned in
such case instead (please see attached a minimal example). I tested with v1.2.5
and also compiled the last SVN revision (as bug 60950 seems to be related to
this issue).

When the affected XSLT is processed with a standalone version of Xalan (2.7.2),
the document function works as expected though.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to