|
From: Daniel V. <vei...@re...> - 2004-08-04 10:27:09
|
On Wed, Aug 04, 2004 at 07:04:18PM +0800, ja...@so... wrote:
> But for SAX parser, how should I make use of DTD ?
"make use of DTD" means nothing. Be explicit, do you want:
- DTD validation ?
- External entity parsing ?
- Entity substitution ?
- etc ...
SAX in libxml2 does not allow DTD validation.
SAX is IMHO a very bad API for 95% of the users. The 5% left
are better off using the C directly and not binding because it's
all about speed and crossing languages boundaries for all callbacks
are just not sensible if you're really in need highest performances.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
vei...@re... | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
|