xsl-list
[Top] [All Lists]

Re: [xsl] File URI / EXPath / Saxon

2009-11-21 05:35:33
Martynas Jusevicius wrote:

  Hi,

net.sf.saxon.trans.XPathException: Invalid URI:
file:///C:\Users\Martynas\WebRoot\odf2epub\build\web\epub\test.epub
        at org.expath.saxon.Zip.fileFromURI(Zip.java:261)
        at org.expath.saxon.Zip.analyseHref(Zip.java:239)
        at org.expath.saxon.Zip.zipFile(Zip.java:305)

And the file path is shown with backslashes again.  Backslashes
are not allowed in URIs as far as I know, but the parameter
value is without them.  Any ideas on what's going wrong? I'm
running Saxon on Windows.

  Thanks for your bug report.  But as this seems to be a bug of
the EXPath ZIP module, it would be better to use the EXPath
mailing list <http://www.expath.org/lists.html>.

  I am not sure to figure out what's going on.  You speak about
Java; how do you use zip-file()?  From XSLT or Java?  The method
the exception is thrown within analyze the @href on the zip:file
element passed as parameter of the function.

  Could you please send a simple repro?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
























--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>