Problem with implementation of getChildNodes on HTMLFormElement?
Aaron Kardell <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
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]