Issue 15104 - Command line tools have hardcoded dependency on Xerces parser
Summary: Command line tools have hardcoded dependency on Xerces parser
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: tomaisoc
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-30 16:20 UTC by tomaisoc
Modified: 2003-06-13 13:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tomaisoc 2003-05-30 16:20:23 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.
Comment 1 tomaisoc 2003-05-30 16:25:32 UTC
The write method in the XMLParserFactory.DefaultParser class needs to
use Java reflection to establish what classes are available for XML
serialization.
Comment 2 tomaisoc 2003-06-02 16:20:14 UTC
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.
Comment 3 robert.kinsella 2003-06-13 13:05:32 UTC
verifed fixed NetBeans3.4 on Solaris SF0.3 rc4
closing issue