Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 58490 invoked by uid 500); 7 May 2002 17:35:54 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Delivered-To: moderator for general@xml.apache.org Received: (qmail 47692 invoked from network); 6 May 2002 05:53:26 -0000 Subject: Re: Using Cached Entities in Xerces To: general@xml.apache.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "David N Bertoni/Cambridge/IBM" Date: Sun, 5 May 2002 22:53:20 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Release 5.0.10 |March 22, 2002) at 05/06/2002 01:50:19 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is not the list for Xerces-C questions -- post on the Xerces-C dev. list. An XML parser parses a stream of characters, so returning a pre-parsed tree from an InputSource is non-sensical. When the parser gets this tree representing the external parsed entity, what's it supposed to do with it? By the way, the Xalan-C++ sources in CVS are compatible with Xerces-C 1.7, so you can upgrade if you want to build your own binaries. Dave Nick Kew om> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Using Cached Entities in Xerces 05/04/2002 09:57 PM Please respond to general 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 --------------------------------------------------------------------- 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