Re: [xslt] suppressing warning from document()



On Tue, Jul 10, 2007 at 01:56:11PM +0100, Sebastian Rahtz wrote:
> Daniel Veillard wrote:
> > you need to catch the error message, which should be quite easy
> >if you code at the C level and at the xsltproc level a --nowarning
> >option similar to xmllint one should be close to trivial using the
> >C API.
> >  
> I am not that strong, but I take the point.
> 
> >>or a better method to check if a file exists before
> >>reading it?
> >>    
> >
> > Not that I can think of, and that's reasonnable, such an XSLT function
> >would turn into an horrible security hole I'm afraid :-)
> >  
> drat. oh well, thanks!

  I still didn't understood, do you use just xsltproc or use your
own code on top of libxslt ?

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]