jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Burke <mbu...@bestweb.net>
Subject Re: Tutorial help
Date Wed, 27 Nov 2002 20:51:23 GMT
Christopher Lenz wrote:

> Michael Burke wrote:
>
>> Christopher Lenz wrote:
>>
>>> Michael Burke wrote:
>>>
>>>> Christopher Lenz wrote:
>>>>
>>>>> 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

>>>
>>>                                                               ^^^^^
>>>
>> Looks like we're talking about two different things. I was trying to 
>> run the tutorial with xml output (the first example on the tutorial 
>> page) not with html which is what you're talking about I guess. I 
>> haven't tried that yet.
>
>
> No wonder you're getting a blank page then ;-)
>
> In contrast to Internet Explorer, Mozilla doesn't do the 
> "XML-Explorer" thing. That's a completely IE-specific feature, and I 
> don't know any other web browser that displays XML in such a way 
> automatically. Mozilla or for instance Opera require an 
> XSLT-stylesheet to transform an XML source into something displayable.
>
> Maybe that should be noted in the tutorial :-P
>
Thanks for the info I'll try the second approach (html).



--
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