[xep-support] Xerces

Nikolai Grigoriev grig at renderx.com
Tue Feb 5 14:25:38 PST 2002


Gustaf,

> Did you embed Xerces in xep_27_full.jar? Seems I can run XEP 
> without a xerces.jar!

No-o-o-o!!! That's impossible, I guarantee. In may only happen if you
have homehow included Xerces into your system-wide CLASSPATH.
I have had too many "class not found" exceptions when leaving Xerces
out of the classpath...
 
> Will the new Xerces Native Interface (XNI) influence XEP 
> in any way? Will it speed up the program or programming? :-)

Neither of the two. Xerces (or any other SAX1/2 parser) is used to parse 
the input file and configuration (fonts.xml, hyphens.xml et similia).
This operation takes only few percents of formatting time, and 
by itself does not require much memory . We don't see any need 
to achieve a tighter integration with Xerces; we'd rather stick
to industry-standard SAX2 (adding JAXP-style pluggability for
ease of use).
 
> I also think it would be useful to have the XEP version, 
> Java version and Xerces version written in the output 
> (at the top).

Good idea, thank you. An info event in the logger at startup,
containing version data, with a switch to suppress it; a nice
jingle that really costs us nothing to implement... The only 
problem may be related to Xerces: XEP core is not hardwired
to Xerces (while SVG component is), and standard SAX
interface does not provide any means to query the parser
about its version...

Best regards,
Nikolai Grigoriev
RenderX


-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list