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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|High |Medium ------- Additional Comments From [EMAIL PROTECTED] 2004-02-19 19:50 ------- If I understand the problem correctly, you are applying your stylesheet to the input document e205.xsd, and then inside your stylesheet, you have references to document('e205.xsd',/). For some reason, the result of applying generate-id to the nodes under the main input document is different from the result of applying generate-id to the result of the document function. I'm able to reproduce the problem, and I'll attach a reduced test case. In my case, I use the same *absolute* URI in the reference to the document function as I use in invoking the transformation. I notice that Xalan-Java Interpretive, XSLTC and Saxon all have this same behaviour. That doesn't mean it's correct, but it seems less likely that this behaviour is accidental. Is there any reason why you have to process e205.xsd as both the primary input to the transformation *and* using the document function? If not, you could work-around the problem by accessing only one way or the other, while we try to explore the reason for the current behaviour. (That would reduce the severity of this problem from "Blocker" too! :-)
