DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31402

Illegal tree crossing in 
org.apache.xindice.xml.dom.ElementImpl.getElementsByTagName

           Summary: Illegal tree crossing in
                    org.apache.xindice.xml.dom.ElementImpl.getElementsByTagN
                    ame
           Product: Xindice
           Version: cvs head (1.1)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: XML:DB API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In xindice-1.1b4, when getElementsByTagName is executed with a tag name not
existing in the element's child tree but in a sibling's child tree, the elements
are found in the sibling's tree and returned.
For example:
<abnahme>
<text>test</text>
</abnahme>
<abnahme>
<aenderungsdatum></aenderungsdatum>
<text/>
</abnahme>

If I execute getElementsByTagName("aenderungsdatum") when I'm on the first
"abnahme"-Element, the "aenderungsdatum" element is returned instead of null or
an empty NodeList.

Please have a look at it.

Reply via email to