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=12025>. 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=12025 Keys on recursive elements Summary: Keys on recursive elements Product: Xerces2-J Version: 2.0.2 Platform: Sun OS/Version: Solaris Status: NEW Severity: Major Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Id sent a bug report in earlier about the keyrefs not being resolved....but the problem seems to be with the keys and not the refs. I have a tree element in which the label and subscript of each node uniquely identify it. I defined the key on the tree with the selector xpath=".//node". However this selects only the root node. It works fine for non-recursive elements selecting all the descendants but not when a node itself contains a node. For example the following should give an error since there are two nodes with label "S" and subscript "r" .... but it doesnt. <tree> <node label="S" subscript="r" marker="" > <node label="NP" subscript="0" marker="substp" > </node> <node label="VP" subscript="" marker="" > <node label="V" subscript="" marker="headp" > </node> <node label="S" subscript="r" marker="" > <node label="?3" subscript="" marker="" > </node> </node> <node label="?1" subscript="" marker="" > </node> </node> </node> </tree> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
