RE: [xml] Making SAX more useful...
- From: "Sze, Tak F" <tak f sze intel com>
- To: "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] Making SAX more useful...
- Date: Wed, 16 May 2001 10:08:55 -0700
One approach is to switch the behavior depending on
a xmlSubstituteEntity flag is turned on/off. Kind of
similar to xmlDoValidityCheckingDefaultValue flag.
- Tak Sze
-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Wednesday, May 16, 2001 7:09 AM
To: Matt Sergeant
Cc: xml gnome org
Subject: Re: [xml] Making SAX more useful...
On Wed, May 16, 2001 at 01:19:26PM +0100, Matt Sergeant wrote:
At the moment the SAX parser really has second place to the
DOM parser (at
least that's my gut feeling), because you have to do so
much work to make
it useful (I've just discovered that it doesn't do entity
resolution for
you - which is the opposite of all other SAX
implementations I've used).
Well, problem is that I build DOM on top of this expat/SAX and it
would be more difficult to handle this if entities are
substitued before
the callbacks
Is there a plan to make it a more "first class" interface?
At the moment
it's requires a fair amount of custom code to implement
parsing reasonably
complex documents.
Well it's not really a priority right now. there is also the
point that I don't want to break the API, and this will
probably requires
an API redesign.
Daniel
--
Daniel Veillard | Red Hat Network
http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]