jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Tutorial help
Date Wed, 27 Nov 2002 19:33:28 GMT
Michael Burke wrote:
> Christopher Lenz wrote:
> 
>> Michael Burke wrote:
>> [huge snip]
>>
>>> I tried the tutorial with cactus 1.4.1 in Mozilla 1.0 and the results 
>>> still don't show in the browser (only when viewing the source).
>>
>>
>>
>> Can you confirm that:
>> (a) the XML source contains a <?xsl stylesheet ...?> line (somewhere at
>>     the beginning)
>> (b) the file pointed to by the above declaration is retrievable by the
>>     browser?
>>
> here's the source:
> 
> <?xml version="1.0" encoding="UTF-8" ?><testsuites><testsuite 
> name="TestSampleServlet" tests="1" failures="0" errors="0" 
> time="0.136"><testcase name="testSaveToSessionOK" 
> time="0.126"></testcase></testsuite></testsuites>
> 
> I don't understand your second question.

No, need if (a) fails - as it has - (b) doesn't matter (yet).
Your problem has nothing to do with Mozilla... how can Mozilla know 
which stylesheet to use to transform the XML source? It can't.

Okay, so just to get the obvious out of the way...
You're 100% sure you have got the "xsl" request parameter right in the 
URL, as in:

http://server:port/mywebapp/ServletTestRunner?suite=mytestcase&xsl=junit-noframes.xsl
                                                               ^^^^^

??

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message