Apache OpenOffice (AOO) Bugzilla – Issue 15104
Command line tools have hardcoded dependency on Xerces parser
Last modified: 2003-06-13 13:05:32 UTC
Currently you have to have the Xerces XML parser in your classpath in order to use the Scripting Framework CommandLineTools class for parcel generation and deployment. This dependency should not exists.
The write method in the XMLParserFactory.DefaultParser class needs to use Java reflection to establish what classes are available for XML serialization.
Added code to get the Class of the Document instance that is passed to the write method and based on this to use introspection to find the appropriate class for writing the XML. This code is based on the code used in the XMLUtilImpl class of the NetBeans openide module.
verifed fixed NetBeans3.4 on Solaris SF0.3 rc4 closing issue