From: Craeg K Strong <cstrong@ar...> - 2002-05-13 01:40:49
We have a simple transformer generating HTML from XML sources that imports some
common definitions, like so:
It works fine with saxon 6.4.4 on Linux. For 6.5 or 6.5.1, however, it gives the
Error at xsl:import on line 8 of
Failure reading file://home/cstrong/ade/com/ap/kb/xsl/common.xsl: home
It appears to be the dreaded "guess URL from filename" issue. This problem does
_not_ occur on Windows 2K.
Based on my earlier postings and Michael Kay's replies to the discussion forum,
I believe the problem is a JAXP bug. The original JAXP 1.1 files have a
date of 2/6/2001. The JAXP files within the saxon6.5.2 jar have a date of
11/14/2001, and the JAXP 1.2 EA files are dated 3/14/2002.
It appears that Saxon 6.4+ may include an interim release of JAXP 1.1+ that
suffers from this bug?
In any event, I have found a workaround:
Download the latest "XML-pack" from Javasoft. Install it, and check out the
JAXP 1.2 EA product that is included. Grab jaxp-api.jar and put it in the
classpath BEFORE saxon.jar
Hope this helps those who are experiencing the same problem,
Get latest updates about Open Source Projects, Conferences and News.