[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] Implementation of JAXP interface using libxml2



On Wed, Jun 02, 2004 at 11:50:04AM +0100, Chris Burdess wrote:
> Daniel Veillard wrote:
> > > I've tried registering my own external entity loader function with 
> > > xmlSetExternalEntityLoader, but it isn't being called when the parser 
> > > encounters e.g.
> > > 
> > >   <!DOCTYPE doc SYSTEM "185.ent">
> > > 
> > > Is there something else I need to do?
> > 
> >   by default libxml2 does not fetch external entities, basic mode of
> > operation of non-validating parsers. Turn on DTD loading,
> 
> I have already called xmlCtxtUseOptions with the XML_PARSE_DTDLOAD flag
> before xmlParseDocument with that context (...?)

  Then I have no idea of what's going on, really...

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]