SwiXML and JAXP

"Steven Pearson" <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Hi,

I've modified SwiXML to use the JAXP parser shipped as standard with
j2se1.4.2.

My motivation was to reduce the deployment footprint if SwiXML by no longer
needing the jdom.jar to be distributed.

I implemented it using a factory so it's possible to switch between the
normal JDOM parser and my JAXP parser.

Is there any interest in such a modification in the SwiXML community?

I've talked briefly with Wolf and he was concerned about performance so I
ran a test with a 23Kb SwiXML file.

Rendering the file 100 times with both JDOM and JAXP revealed

>40% in javax.swing / java.awt
11% in various JAXP packages
7% in JDOM

The actual time to render the document without profiling on average was ~200
millis for both JDOM and JAXP.

Thanks,

Steve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.