Page 1 of 1

Javax.xml.transform.:Had IO Exception with stylesheet file

Posted: Tue Mar 11, 2008 9:05 am
by xsluser
hi when i try to click on order form of specific journal here say 30210 it gives the following error: here it is in unix system.
--------------------------------------------------------------
SystemID: file:///store/a30scstargets/acc53/act/legacy_products/p10/30210/30210_01_bookorderform1_1.xsl; Line#: 3; Column#: 79
javax.xml.transform.TransformerException: Had IO Exception with stylesheet file: http://localhost/framework_common/common_templates.xsl
at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:873)
------------------------------
in this 30210_01_bookorderform1_1.xsl; Line#: 3; Column#: 79 it will be as below:
--------------------------------
<xsl:import href="http://localhost/framework_common/common_templates.xsl"/>
-------------------------------------
i have checked for the xsl in that path & it exists there.

so please let me know what may cause this problem. all says that it is due to configuration problem. if it is please let me know where all can be the configuration problems comes for this type os errors.

thanks in advance.

Re: Javax.xml.transform.:Had IO Exception with stylesheet file

Posted: Tue Mar 11, 2008 6:24 pm
by jkmyoung
Does it work if you do not use localhost, but instead point to a file on your computer, or using a URL without localhost?

Re: Javax.xml.transform.:Had IO Exception with stylesheet file

Posted: Tue Mar 11, 2008 6:41 pm
by xsluser
jkmyoung wrote:Does it work if you do not use localhost, but instead point to a file on your computer, or using a URL without localhost?
no it wont work if i remove localhost. and iam not getting what u r asking? please let me know know what information you need from myside in order to solve.
iam sure that there is no problem in xslt, may be some configuration problems iam not able to retrive the same.

so please suggest some tips where all cn be the configuration goes wrong for this type of errors.

thanks in advance.

Re: Javax.xml.transform.:Had IO Exception with stylesheet file

Posted: Fri Mar 14, 2008 2:08 pm
by sorin_ristache
xsluser wrote:
jkmyoung wrote:Does it work if you do not use localhost, but instead point to a file on your computer, or using a URL without localhost?
no it wont work if i remove localhost. and iam not getting what u r asking? please let me know know what information you need from myside in order to solve.
Do you get the same error if you replace http://localhost/framework_common/common_templates.xsl with a path to a local file, something like file:///store/a30scstargets/acc53/act/legacy_products/framework_common/common_templates.xsl? Just edit the file file:///store/a30scstargets/acc53/act/legacy_products/p10/30210/30210_01_bookorderform1_1.xsl in which the error is reported, do the replacement and repeat the transformation.


Regards,
Sorin