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=2425>.
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=2425

document() method accesses URIResolver multiple times





------- Additional Comments From [EMAIL PROTECTED]  2001-09-19 09:28 -------
I've had this problem as well, when I was using the Xalan version that shipped 
with JAXP 1.1.

My document() calls looked like 
<xsl:apply-templates select="document('dummy')"/>

The custom URI resolver would be called twice.
When I tried the same templace in Xalan 2.2 D10, the problem disappeared.

HOWEVER.....

When I change the document() call to something like:

<xsl:apply-templates select="document('dummy')/root"/>

then the problem comes back again.

I've tested the same code and templates with Saxon 6.4.4, and it behaves 
correctly, that is, it doesn't resolve twice.

The problem is easy to reproduce with minimal code. If I need to post a 
testcase, please say so.

Reply via email to