You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/13 12:08:23 UTC
DO NOT REPLY [Bug 6422] New: -
When using xml:space="preserve" on templates , parameters dont seem to pass in correct
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6422>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6422
When using xml:space="preserve" on templates , parameters dont seem to pass in correct
Summary: When using xml:space="preserve" on templates ,
parameters dont seem to pass in correct
Product: XalanJ2
Version: 2.2.0
Platform: PC
URL: None
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: davidd@ri3k.com
When applying or calling a template that has
xml:space="preserve" on it and passing parameters in , the
parameters seem to not pass to the template correct
Attached to this bug are 2 files
1. in.xml - the input xml file
2. xsl.xsl - the xsl file
in xsl.xsl there is a template:
<xsl:template match="match-this" xml:space="preserve">
when running the command line with in.xml as input and xsl.xsl as XSL
you get An Error,
(Location of error unknown)XSLT Error org.apache.xpath.XPathException): Can not
convert #STRING to a NodeList!
when changing that template to read
<xsl:template match="match-this" xml:space="default">
it works as i expected it to work