JAXP with Extended DOMParser 2007-06-10 - By johndoe Doe
It is currently not possible to extend existing org.apache.xerces.jaxp.DocumentBuilderImpl so as to use an implementation that extends org.apache.xerces.parsers.DOMParser. (Package scoped constructors and "new DOMParsers()" in the newDocumentInstance() method)
It is possible to extend DOMParser to add special user data for nodes typically by extending startElement and endElement. However, it is not trivial to incorporate this extended DOMParser for JAXP use.
Can you please suggest an appropriate mechanism so that this custom DOMParser can be easily used in a typical JAXP sense.
- One idea would be to have a org.apache.xerces.jaxp.DocumentBuilderImpl that looks at a property that provides a classname that is org.apache.xerces.parsers.DOMParser or a class that extends org.apache.xerces.parsers.DOMParser.
_________________________________________________________________________ ___________ Shape Yahoo! in your own image. Join our Network Research Panel today! http: //surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|