Re: [xslt] xsltproc option to get an error when an external entity can't be loaded?



On Sun, Jan 22, 2006 at 02:03:59AM +0100, Vincent Lefevre wrote:
> Hi,
> 
> Is there an option for xsltproc to get an error when an external
> entity can't be loaded?
> 
> I'm using xsltproc in a Makefile, and I'd like make to stop in
> this case. A non-zero exit status would be better than just a
> message (otherwise I would need to catch the output).

 Hum, there is no such option. And this may not be a fatal error from an
XML point of view, not really trivial, plus the error could occur 
when using document() ...
 Basically this would require xsltproc to install a specific error handler
and catch those, not very hard but not implemented.

Daniel

-- 
Daniel Veillard      | Red Hat 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]