Re: [xslt] Sometimes plain text output from cron
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] Sometimes plain text output from cron
- Date: Tue, 18 Sep 2007 12:47:15 -0400
On Tue, Sep 18, 2007 at 09:39:04AM -0400, Elliotte Harold wrote:
> Here's a thought: is xsltproc cannot read the stylesheet due to a
> permissions issue, will it use any sort of default? That sounds
No it will error out and exit before even trying to parse the XML input.
> plausible. I don't know the internals of xsltproc, but perhaps it
> starts with an empty stylesheet and then fills it in with what it
> reads from the actual file. So if it can't read that file we might get
> the behavior I'm seeing? Is that plausible?
The processor uses libxml2 to load the tree associated to the stylesheet(s)
and then add attributes to it as the compilation phase. You can't get an
empty sheet just on I/O problems you will get a fatal XML error first.
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]