Re: Problem with implementation of getChildNodes on HTMLFormElement?

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hi Aaron,

Does this only happen with an HTMLFormElement?  Can you reproduce this 
consistently with any other elements?  Have you checked Apache's bug 
database ( http://issues.apache.org/bugzilla/ ) for something like this 
reported against Xerces-1.x.x?  Also, can you provide a simple testcase 
that we can try out to reproduce the bug?  If this truly is a bug, it 
definitely is something that needs fixing.  Maybe an XMLC-2.2.1 release 
would be in order after this bug gets fixed.

Jake

At 11:04 AM 9/4/2003 -0500, you wrote:
>Greetings,
>
>I've noticed an interesting bug that I'm wondering if anyone else can 
>duplicate.
>  Given an HTMLFormElement (from an XMLC template), try calling 
> getChildNodes()
>on something that obviously has child nodes.  I have a specific instance where
>it is returning a NodeList with a length of 0.  However, the interesting thing
>is that if I call getFirstChild before I call getChildNodes, it returns a
>NodeList with the appropriate children filled in.  Briefly skimming 
>through the
>code that implements this, it appears that maybe there's some kind of a
>synchronization problem; however, I was unable to pinpoint it.
>
>Any thoughts?
>
>Aaron
>---
>Aaron Kardell
>Development Manager & Chief Architect of SIPS
>Altona Ed, LLC <http://www.altonaed.com/>
>[email protected]
>
>_______________________________________________
>XMLC mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/xmlc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.