Project

Profile

Help

Illegal Charcter in parse at index 2

Added by Anonymous over 18 years ago

Legacy ID: #3788764 Legacy Poster: logiciel Saxon (depassejo)

Hi, I want to transform a simple file whose name is TSMP.XML with the Mappingto.XSLT and in Mappingto there is a <xsl:include href="c:\workspace\GDLCSCI\Lib\Summing-nodes.xslt"> When I'm launch saxon 8.7.3b on command line: java -cp saxon8.jar net.sf.saxon.Transform Lib\TSMP.xml src\Mappingto.xslt >output.xml there is error on the line xsl:include href and the error say illegal character in parse at index 2. I don't understand!


Replies (1)

RE: Illegal Charcter in parse at index 2 - Added by Anonymous over 18 years ago

Legacy ID: #3789388 Legacy Poster: Michael Kay (mhkay)

The XSLT specification requires that the href attribute of xsl:include should be a URI. A Windows filename is not a URI. You need to write file:///c:/workspace/GDLCSCI/Lib/Summing-nodes.xslt

    (1-1/1)

    Please register to reply