logo       

RE: Re[2]: Xerces 1 use in XMLC: msg#00014

java.enhydra.xmlc

Subject: RE: Re[2]: Xerces 1 use in XMLC

Jacob Kjome <hoju@xxxxxxxx> writes:
> work. Heck, you should be able to use Crimson. However, if your packages
> do you xerces extensions (like xmlc-2.1 does) then you will marry yourself
> to a particular version of Xerces. Hopefully future releases of XMLC can
> get away from that dependency.
>

This is currently not possible for two reasons:
1) Neither the DOM nor SAX-2 APIs provide all of the document data.
In particular, the DTD information is not available. I guess one
might be able to get away from this by parsing the DTD separately,
although this seems like it might create a seperate set of problems.

2) XMLC classes extend the DOM classes. This really isn't a parser
depencency; as long as the code is using the SAX API, one should
be able to mix one DOM implementation with a different parsers.
However the DOM API version problems could make this problematic.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise