[DAS2] Fwd: can't view XML from DAS2 server in IE4 or Safari
Andrew Dalke
dalke at dalkescientific.com
Tue Aug 15 13:46:14 UTC 2006
Oops! Hit "reply-to" instead of "reply-all".
Begin forwarded message:
> From: Andrew Dalke <dalke at dalkescientific.com>
> Date: August 15, 2006 5:26:03 AM GMT+02:00
> To: "Ann Loraine" <aloraine at gmail.com>
> Subject: Re: can't view XML from DAS2 server in IE4 or Safari
>
>> I'm trying to view the XML delivered from the DAS2 server in Firefox
>> or IE4 without having to save it and then load it.
>>
>> I think this is something to do with the fact that the XML is
>> delivered as type application versus XML plain text, which is what the
>> DAS1 servers seem to do.
>
> Yes. It's a 4 year old bug in Mozilla.
> https://bugzilla.mozilla.org/show_bug.cgi?id=155730
>
>
>> Is there a way I can tell Firefox to render the XML directly without
>> my having to save it first?
>
> We've run into this before. I want a way to make this be less
> of a problem.
>
> I propose that if "text/xml" is in the Accept header then the
> server should return the das2xml document but with a "text/xml"
> content-type.
>
> I tested that out on my copy of Firefox and it was a happy camper.
> It showed the XML tree, though it did complain about the lack
> of a stylesheet. Okay, perhaps it was more feeling okay than happy..
>
> Of course another possibility is to see the "text/html" there
> and show something more presentable to humans, but that makes things
> worse for those like Ann who want to see the XML structure.
Andrew
dalke at dalkescientific.com
More information about the DAS2
mailing list