Re: [libxml++] regarding libxml++ DTD support



On Wed, Aug 04, 2004 at 07:04:18PM +0800, jasper softwarelabs org 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/
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]