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=5749>. 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=5749 getChildNodes not giving the correct info Summary: getChildNodes not giving the correct info Product: Xerces-C++ Version: 1.6.0 Platform: PC OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Validating Parser (DTD) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Suppose node is of type DOM_Node, then the method DOM_Node firstChild = node.getChildNodes().item(0); return a node whose type is 'text' whereas it is actually a DOM_Element. I get the same behavior if I use the call node.getFirstChild(). Also, if I do the following - DOM_NodeList list = nodel.getChildNodes(); the number of elements in 'list' is not correct. However, I get the correct node information if I use the call DOM_Node firstChild = node.getElementbyTagName("TagName").item(0); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]