Re: [xslt] bug? warning given as error



On Tue, Apr 22, 2003 at 09:11:26PM -0400, S Woodside wrote:
> This seems like a possible bug in Apache::AxKit::Provider::File. For a  
> document() call on a non-existing file, xsltproc gives a warning, on  
> the same test files AxKit gives an error.
> Using libxml 20506, libxslt 10029 and libexslt 719
> AxKit 1.6.1

  The spec states in section 12.1 Multiple Source Documents
 "If there is an error retrieving the resource, then the XSLT processor
  may signal an error; if it does not signal an error, it must recover
  by returning an empty node-set."

So both behaviours are correct.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]