[ http://issues.apache.org/jira/browse/XALANJ-1797?page=comments#action_64447 ] Brian Minchau commented on XALANJ-1797: ---------------------------------------
Not sure if XSLT 2.0 clears up this issue. I think that XSLT 2.0 it is an explicite requirement that the document() function return the same node in this situation. However it seems unlikely that we will push this behavior into this 1.0 processor. The XSLT 1.0 spec. is unclear enough that we won't be changing our behavior. > generate-id() doesn't work correctly while document hopping > ----------------------------------------------------------- > > Key: XALANJ-1797 > URL: http://issues.apache.org/jira/browse/XALANJ-1797 > Project: XalanJ2 > Type: Bug > Components: Xalan > Versions: 2.5 > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: thomas2.maesing > Assignee: Xalan Developers Mailing List > Priority: Blocker > Attachments: core.xsd, d27040.java, d27040x.xml, d27040x.xsl, e205.xsd, > e205_xde1.xmi, xsd2xmi_xde1.xslt > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
