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 2004/02/18 18:23:59 UTC

DO NOT REPLY [Bug 27040] New: - generate-id() doesn't work correctly while document hopping

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

           Summary: generate-id() doesn't work correctly while document
                    hopping
           Product: XalanJ2
           Version: 2.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: thomas2.maesing@bgs-ag.de


Dear all,

Because generate-id(document("foo.xml"))=generate-id(document("foo.xml")) 
should be always true I assume it should be true also for the following task:

1. walk down the source tree and generate a id1 for node X
2. jump to another document D and do something
3. jump back to the source, walk to node X and generate id2

In my opinion then the following should be true:

id1 = id2

But at the moment this is not true. See the attached examples and compare line 
83 with line 927

Best regards

Thomas
with line