On Mon, Oct 21, 2002 at 02:38:36PM -0700, Daisuke Maki wrote:
> > I was just wondering how come it is that the XML parser that parses
> > the XSP in the first place doesn't process XINCLUDE???
> > Given that its going in through XML::LibXML shouldn't it kinda just
> > happen automagically at that point? 

<SNIP/>

> So  apparently expand_entities is set to true, but not process_xinclude.
> There's also that mysterious line
> 
>     $doc->process_xinclude;
> 
> that seems to use a non-documented sub? I know
> XML::LibXML::process_xinclude is documented, but I can't seem to find
> XML::LibXML::Document::process_xinclude. Perhaps the above should be
> changed such that $parser->process_xinclude() is set to 1?

XML::LibXML::Document::process_xinclude() is left for compatibility
reasons. I may remove this function in some future version (as soon it
won't break any AxKittens around) 

AxKit in particular should use XML::LibXML::process_xincludes(), because 
it can use the (local) parser callback for the xinclude processing.

christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to