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

           Summary: Node.getChildNodes returns different results depend on
                    XML formatting
           Product: Xerces-J
           Version: 1.4.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DOM
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I use Xerxes 2.6.2. I call Node.getChildNodes on a tag (instance of 
DeferredEmelemntNSImpl) named "AUSWAHL". Dependend on the *formatting* of the 
XML-File the result *differs*. If the XML-File looks like the following:

<KONTROLLSTRUKTUR>
  <AUSWAHL>
    <PARAMETER>'iCodeResult'</PARAMETER><VERGLEICHE>
    ...

I get the following NodeList:
-item(0): TextNode "[#text:   ]"
-item(1): ElementNode "PARAMETER"
-item(2): ElementNode "VERGLEICHE"
-item(3): textNode "[#text:   ]

<KONTROLLSTRUKTUR>
  <AUSWAHL>
    <PARAMETER>'iCodeResult'</PARAMETER>
      <VERGLEICHE>
      ...

I get the following NodeList:
-item(0): TextNode "[#text:   ]"
-item(1): ElementNode "PARAMETER"
-item(2): textNode "[#text:   ]
-item(3): ElementNode "VERGLEICHE"

Shouldn't these two XML-Snippets lead to the same NodeList as they are 
equivalent?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to