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

generate-id() doesn't work correctly while document hopping





------- Additional Comments From [EMAIL PROTECTED]  2004-02-20 14:53 -------
Hmmmm. A few random thoughts for consideration.

I honestly don't remember whether there's any requirement in the specs or if
this is still true, but in the past Xalan-J has attempted to maintain a document
cache. As a result, repeated references to the same document *did* return "the
same nodes", and our ID generation was bound to node identity so they'd return
the same IDs as well.

Note, though, that even there "the same document" means exactly the same
resource -- something loaded from *exactly* the same URI. As is generally the
case, no attempt is made to determine whether two URIs which are expressed as
different strings (after being absolutized) are "equivalent"; that can't be done
in the general case so we didn't attempt it.

So the answer re whether document() returns the same tree as past references
seems to be a definitive "maybe", depending on how you ask the question.

Reply via email to