Mantis - Resin
Viewing Issue Advanced Details
424 minor always 10-18-05 00:00 11-30-05 16:56
user430  
ferg  
normal  
closed 2.1.x  
2.1.x fixed  
none    
none 3.0.16  
0000424: Caucho XML parser does not provide getNodeType()!!!!!!!!!!!!!!!!!!!!!!!
RSN-470
The resin server overrides the default Java parser/DOM builder with it's own implementation. This implementation is incomplete: for instance in QEntity the implementation of getNodeType() returns -1 instead of Node.ENTITY_NODE. This causes very odd problems in some XML code. In addition there seems to be no way to prevent Resin from doing this except by setting system properties to alternate implementations. This sucks because these properties differ over Java versions (for instance Crimson in JDK1.4 and Xerces in 1.5).

Fix:
1. Implement the missing/incomplete calls!
2. Make it possible to revert to using the JDK default factories.
all

There are no notes attached to this issue.