Node.getChildNodes() is returning null always even though the Document loaded in the browser has children. Even Node.hasChildNodes() is returning false.
The HTML file used to load the applet has comments & elements in it which are nothing but the children of Document & Node API should recogninze them as children of Document node but it's failing to do so.
Run the attached applet & if you find "Node has no Children" and "getChildNodes()is returning null" displayed on the loaded applet,than the bug is reproduced.
The HTML file used to load the applet has comments & elements in it which are nothing but the children of Document & Node API should recogninze them as children of Document node but it's failing to do so.
Run the attached applet & if you find "Node has no Children" and "getChildNodes()is returning null" displayed on the loaded applet,than the bug is reproduced.
- duplicates
-
JDK-4803577 RFE: Common DOM API Enhancement
-
- Resolved
-