Implementation Anomalies
The following section details findings discovered while using each of the aforementioned DOM implementations. Each implementation has its own warts and idiosyncrasies. It should be kept in mind that the implementations are in various forms of compliance with the specifications. Any and all of these issues may be addressed with newer releases.
Processing Instructions
<?xml version="1.0" encoding="UTF-8" ?>
Only the Oracle implementation returned anything for this line. It was returned as a ProcessingInstruction node with appropriate contents.
Unexpected Child Nodes
The IBM implementation returned a number of child nodes off of the DOCUMENT_TYPE_NODE object. Both the Sun and Oracle implementations return 0 children for ...
Get XML Development with Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.