Project

Profile

Help

error executing foo example transformation

Added by Anonymous about 19 years ago

Legacy ID: #3246547 Legacy Poster: lars gersmann (lgersman)

hi there, when i execute the xslt example foo i get the following error Error at xsl:copy on line 25 of file:///C:/home/ov-runtime-workspace/saxontest/xsl/foo.xsl: java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\home\ov-runtime-workspace\saxontest\test_tt.xml file:///C:/home/ov-runtime-workspace/saxontest/xsl/foo.xsl(25,-1) : java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\home\ov-runtime-workspace\saxontest\test_tt.xml i just use saxon 8.4. thanks for helping me out. regards, lars


Replies (1)

RE: error executing foo example transformatio - Added by Anonymous about 19 years ago

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

The string C:\home\ov-runtime-workspace\saxontest\test_tt.xml is a valid filename but it is not a valid URI. Some products accept filenames where URIs are required, but Saxon is stricter about conforming to the specs. You have to write this as file:///C:/home/ov-runtime-workspace/saxontest/test_tt.xml Michael Kay

    (1-1/1)

    Please register to reply