You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Jason Novotny <no...@aei.mpg.de> on 2003/04/01 13:15:21 UTC
using stylesheet
Hi,
I'm trying to display my test results using the xsl style sheet since
when I display in NS 6 on Mac OS X it doesn't display XML. I followed
the guide and I put the xsl in my webapps/gridsphere directory on
Tomcat. I start Tomcat and type the following:
http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
then I get
XML Parsing Error: xml processing instruction not at start of external
entity
Location:
http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
Line Number 1, Column 61:<?xml-stylesheet type="text/xsl"
href="junit-noframes.xsl"?><?xml version="1.0" encoding="UTF-8"
?><testsuites><testsuite name="org.gridlab.gridsphere.GridSphereTest"
tests="1" failures="0" errors="0" time="2.207"><testcase
name="testGetItUp" time="2.065"></testcase></testsuite></testsuites>
------------------------------------------------------------^
In my browser window-- does anyone know how to fix this, or what I'm
doing wrong?
Thanks very much, Jason
Re: using stylesheet
Posted by Barbara Allori <ba...@akros.it>.
In the past I was too this problem and I remember that it was done because
I was not this jar. Try to put xalan-2.3.1.jar and xercesImpl.jar in
common/lib of Tomcat.
At 17.45 01/04/2003 +0200, you wrote:
>I'm using Tomcat 4.1.18 and it looks like I have xercesImpl in common/lib
>and I already had xalan-2.4.1 in shared/lib such that they are both
>available AFAIK to all webapps. The fact that I'm getting some "XML
>Parsing Error" makes me think it's not a problem with classloading of
>xerces or xalan...
>
> Thanks, Jason
>
>Barbara Allori wrote:
>
>>At 13.15 01/04/2003 +0200, you wrote:
>>
>>>Hi,
>>>
>>>I'm trying to display my test results using the xsl style sheet since
>>>when I display in NS 6 on Mac OS X it doesn't display XML. I followed
>>>the guide and I put the xsl in my webapps/gridsphere directory on
>>>Tomcat. I start Tomcat and type the following:
>>>
>>>http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>>>
>>>then I get
>>>
>>>XML Parsing Error: xml processing instruction not at start of external
>>>entity
>>>Location:
>>>http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>>>Line Number 1, Column 61:<?xml-stylesheet type="text/xsl"
>>>href="junit-noframes.xsl"?><?xml version="1.0" encoding="UTF-8"
>>>?><testsuites><testsuite name="org.gridlab.gridsphere.GridSphereTest"
>>>tests="1" failures="0" errors="0" time="2.207"><testcase
>>>name="testGetItUp" time="2.065"></testcase></testsuite></testsuites>
>>
>>
>>Have you specified in classpath the jar xalan-2.3.1.jar and
>>xercesImpl.jar? It's necessary for the parser.
>>
>>
>>Cordiali Saluti,
>>Ing. Barbara Allori
>>Akros Informatica s.r.l
>>ballori@akros.it
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
Cordiali Saluti,
Ing. Barbara Allori
Akros Informatica s.r.l
ballori@akros.it
Re: using stylesheet
Posted by Jason Novotny <no...@aei.mpg.de>.
I'm using Tomcat 4.1.18 and it looks like I have xercesImpl in
common/lib and I already had xalan-2.4.1 in shared/lib such that they
are both available AFAIK to all webapps. The fact that I'm getting some
"XML Parsing Error" makes me think it's not a problem with classloading
of xerces or xalan...
Thanks, Jason
Barbara Allori wrote:
> At 13.15 01/04/2003 +0200, you wrote:
>
>> Hi,
>>
>> I'm trying to display my test results using the xsl style sheet since
>> when I display in NS 6 on Mac OS X it doesn't display XML. I followed
>> the guide and I put the xsl in my webapps/gridsphere directory on
>> Tomcat. I start Tomcat and type the following:
>>
>> http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>>
>> then I get
>>
>> XML Parsing Error: xml processing instruction not at start of
>> external entity
>> Location:
>> http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>> Line Number 1, Column 61:<?xml-stylesheet type="text/xsl"
>> href="junit-noframes.xsl"?><?xml version="1.0" encoding="UTF-8"
>> ?><testsuites><testsuite name="org.gridlab.gridsphere.GridSphereTest"
>> tests="1" failures="0" errors="0" time="2.207"><testcase
>> name="testGetItUp" time="2.065"></testcase></testsuite></testsuites>
>
>
> Have you specified in classpath the jar xalan-2.3.1.jar and
> xercesImpl.jar? It's necessary for the parser.
>
>
> Cordiali Saluti,
> Ing. Barbara Allori
> Akros Informatica s.r.l
> ballori@akros.it
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
Re: using stylesheet
Posted by Barbara Allori <ba...@akros.it>.
At 13.15 01/04/2003 +0200, you wrote:
>Hi,
>
>I'm trying to display my test results using the xsl style sheet since when
>I display in NS 6 on Mac OS X it doesn't display XML. I followed the guide
>and I put the xsl in my webapps/gridsphere directory on Tomcat. I start
>Tomcat and type the following:
>
>http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>
>then I get
>
>XML Parsing Error: xml processing instruction not at start of external entity
>Location:
>http://127.0.0.1:8080/gridsphere/ServletTestRunner?suite=org.gridlab.gridsphere.GridSphereTest&xsl=junit-noframes.xsl
>Line Number 1, Column 61:<?xml-stylesheet type="text/xsl"
>href="junit-noframes.xsl"?><?xml version="1.0" encoding="UTF-8"
>?><testsuites><testsuite name="org.gridlab.gridsphere.GridSphereTest"
>tests="1" failures="0" errors="0" time="2.207"><testcase
>name="testGetItUp" time="2.065"></testcase></testsuite></testsuites>
Have you specified in classpath the jar xalan-2.3.1.jar and xercesImpl.jar?
It's necessary for the parser.
Cordiali Saluti,
Ing. Barbara Allori
Akros Informatica s.r.l
ballori@akros.it