Multiple calls to document() function using same absolute path fail and produce
"putDocumentInCache found reparse of doc" warnings
----------------------------------------------------------------------------------------------------------------------------------
Key: XALANJ-2468
URL: https://issues.apache.org/jira/browse/XALANJ-2468
Project: XalanJ2
Issue Type: Bug
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Components: Xalan-interpretive
Affects Versions: 2.7.1
Environment: Windows XP SP2, ANT 1.7.0. JDK 1.5.16 with Xalan 2.7.1 in
endorsed
Reporter: Philip Boutros
Calling the document function with an absolute path i.e.
document('d:\temp\test.xml') more than one time causes a "putDocumentInCache
found reparse of doc" warning and fails to generate any results. So for
example...
One is [<xsl:value-of select="document('d:\temp\test.xml')/test/@one"/>]
Two is [<xsl:value-of select="document('d:\temp\test.xml')/test/@two"/>]
..produces..
One is [one]
Two is []
plus the "putDocumentInCache found reparse of doc" warning.
Using no path or a relative path both work. So for example...
One is [<xsl:value-of select="document('..\test.xml')/test/@one"/>]
Two is [<xsl:value-of select="document('..\test.xml')/test/@two"/>]
..produces..
One is [one]
Two is [two]
and no warning.
This is not a "\" vs. "/" issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]