Re: [xml] Implementation of JAXP interface using libxml2
- From: Daniel Veillard <veillard redhat com>
- To: Chris Burdess <dog bluezoo org>
- Cc: xml gnome org
- Subject: Re: [xml] Implementation of JAXP interface using libxml2
- Date: Fri, 7 May 2004 12:19:54 -0400
On Thu, May 06, 2004 at 03:41:20PM +0100, Chris Burdess wrote:
Hi,
I'm working on an implementation of JAXP using libxml2 and libxslt (this
is the GNU JAXP project, called libxmlj). I'm using libxml2 2.6.9.
I have a real problem with SAX conformance. As you are aware (cf
http://mail.gnome.org/archives/xml/2001-December/msg00071.html)
the xmlSAXHandler's resolveEntity doesn't get called to resolve entities.
As such, we can only get about 75% conformance against the W3C's XML
test cases (http://www.w3.org/XML/Test). (Not all of these test failures
are entity-resolver issues, some are character encoding issues.)
Are there any plans to implement the resolveEntity callback? If so, when
could it realistically be scheduled for?
Have you looked at the entity loader API in libxml2 ?
http://xmlsoft.org/html/libxml-parser.html#xmlSetExternalEntityLoader
to see examples of external entities loader see xmlNoNetExternalEntityLoader
in xmlIO.c
This should give you all the flexibility you need.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]