Re: [xslt] Re: Fix for 105418 [xsltDocumentFunctionLoadDocument seg faults if file doesn't exist]



On Fri, Feb 07, 2003 at 09:31:06AM -0800, Jean Anderson wrote:
> Daniel's fix:
> 
> + Changing to
> +     } else
> +         doc = xsltdoc->doc;
> + fixes the problem...
> 
> The result of this fix is an empty result:
> 
>     [jta@gertie documents]$ xsltproc test.xsl test-bad.xml
>     warning: failed to load external entity "foofile.xml"
>     warning: failed to load external entity "foo_file.xml"
> 
> 
> 
>     [jta@gertie documents]$

  there have been another bug fix on that file today
The result now is:
paphio:~/XSLT/tests/documents -> xsltproc test.xsl test_bad.xml
warning: failed to load external entity "foofile.xml"
warning: failed to load external entity "foo_file.xml"

Can't Open File: foofile.xml
Can't Open File: foo%5Ffile.xml
paphio:~/XSLT/tests/documents ->
 
> I just wanted to verify that this is "expected" behavior if the file 
> being loaded does not exist. The --verbose option would not help the 

  there was another bug that I found while looking/fixing #105450
   http://bugzilla.gnome.org/show_bug.cgi?id=105450

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]