Re: [xslt] Spaces and <xsl:document href="..."> element - last minute thoughts



On Mon, Aug 02, 2004 at 08:21:07PM +0400, Lev Serebryakov wrote:
> Hello xslt,
> 
> > And it FAILS (of course!). Is it xsltproc's (libxslt's) bug or I do
> > something wrong?
> 
>   I think, that it libxslt problem, because file-accessing routines should decode URL-encoded paths (as any Web-server does) before using them in file system routines

  It's not a file accessing routine you're calling, it's an URI one !
Since you gave something which wasn't a proper URI, libxml2 escaped it to
try to access it anyway. The bug is in your staylesheet, really.

Daniel

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