You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Nick Kew <ni...@webthing.com> on 2002/05/05 06:57:16 UTC

Using Cached Entities in Xerces

Using Xerces-C 1.6 (can't upgrade to 1.7 until there's a Xalan that
works with it).

I'd like to be able to return a pre-parsed and cached document from
an EntityResolver.

As it stands, EntityResolver returns an InputSource, and InputSource
serves only to return a binInputStream, which seems to preclude using a
pre-parsed doctree.

OTOH, the Xalan XSLTInputSource offers a possibility to work with
parsed documents (using XalanNode) rather than InputStreams.
Is there any way I can do this for a Xerces parser?


-- 
Nick Kew

Available for contract work - Programming, Unix, Networking, Markup, etc.


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org