You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Charles Murphy <ch...@pathfindertechnologies.biz> on 2005/12/09 18:11:15 UTC
Java IO Exception Error
Has anyone seen this error before
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Had IO Exception with stylesheet
file: .\report_drivers\Includes.xsl
FOP is being run from the command line to debug a new install. Style sheet
and FOP install runs successfully on other machines. The new install FOP,
Saxon and style sheets installed on an F: drive, other installs where all on
C:
Thanks in advance
Charley Murphy
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Java IO Exception Error
Posted by Charles Murphy <ch...@pathfindertechnologies.biz>.
Thanks. It was a problem with the style sheet
On 12/9/05 5:36 PM, "J.Pietschmann" <j3...@yahoo.de> wrote:
> Charles Murphy wrote:
>> javax.xml.transform.TransformerException: Had IO Exception with stylesheet
>> file: .\report_drivers\Includes.xsl
>
>
> The Java library had problems accessing the file Includes.xsl.
> Check whether you can open the file with some other tool (you
> seem to run Windows, try Notepad). The file might lack read
> permissions. Another possibility is that you have both an
> Includes.xsl and includes.xsl file in the same directory.
>
> This is not a FOP specific problem. You should ask again in
> a more general Java forum, preferably one where Java-on-Windows
> gurus hang out.
>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Java IO Exception Error
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Charles Murphy wrote:
> javax.xml.transform.TransformerException: Had IO Exception with stylesheet
> file: .\report_drivers\Includes.xsl
The Java library had problems accessing the file Includes.xsl.
Check whether you can open the file with some other tool (you
seem to run Windows, try Notepad). The file might lack read
permissions. Another possibility is that you have both an
Includes.xsl and includes.xsl file in the same directory.
This is not a FOP specific problem. You should ask again in
a more general Java forum, preferably one where Java-on-Windows
gurus hang out.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Java IO Exception Error
Posted by Matthew L Daniel <md...@scdi.com>.
> javax.xml.transform.TransformerException: Had IO Exception with stylesheet
> file: .\report_drivers\Includes.xsl
If applicable in your situation, I have found great success by
installing my own URIResolver into the TransformerFactory. I was able to
use this method to pull the xsl:import and document() dependencies from
our SCM provider, without them ever becoming real files.
HTH,
-- /v\atthew
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org