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

getElementsByTagName doesn't return siblings properly

           Summary: getElementsByTagName doesn't return siblings properly
           Product: Xerces2-J
           Version: 2.0.0 [beta]
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I have the following document:
   <root>
       <leaf1>
           <test name="aaa" />
           <test name="bbb" />
       </leaf1>
       <leaf2>
           <test name="ccc" />
       </leaf2>
   </root>
I am loading this in and then call 
   document.getElementsByTagName("test");
and then print the value of the "name" attribute.
I get back only "aaa" and "ccc", No "bbb.".
Of course if I switch "aaa" with "bbb" I get "bbb" and "ccc" and no "aaa".

I am using Xalan: xalan-j_2_2_D13.jar.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to