You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Dimitry Chernyshov <sh...@polardesign.ru> on 2001/08/24 13:53:45 UTC

MalformedURLException during transformation?

Hi guys,

Has anyone encountered the following error?

During transformation using C API, program exits with the following
error message:

XSL Warning: Fatal Error at (file , line 0, column 0): An exception
occured! Type:MalformedURLException, Message:No protocol prefix present,
line -1, offset -1

It happens if you're not indicating XSL file to XalanTransformToXXX
function, and instead of it put the reference to that XSL in XML file
with a string like the following:

<?xml-stylsheet type="text/xsl" href="unicode.xsl"?>

Any help would be appreciated!

Best,
Dimitry Chernyshov.