You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/08/06 10:34:28 UTC

[Bug 64649] New: XSLT transformation - document('') doesn't return stylesheet

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: spoeschel@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64649] XSLT transformation - document('') doesn't return stylesheet

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64649

Stefan Pöschel <sp...@irt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Standard Taglib             |XTags Taglib

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