[DAS2] Fwd: can't view XML from DAS2 server in IE4 or Safari

Ann Loraine aloraine at gmail.com
Tue Aug 15 15:08:43 UTC 2006

Hi Andrew,

This sounds great to me!

Being able to use my Web browser to show people DAS XML after typing
in a URL (teaching) and also to see it myself as I familiarize myself with
the URL-building conventions (coding) is a huge plus. It really gets
the point across in an accesible and dramatic way.

A lot of us started to "get" programming after having friends or
colleagues show us the HTML coding underlying Web pages using the
"view source" function of Netscape Navigator. I think being able to
see the XML beautifully rendered in a browser can have the same sort
of function for a lot of people and will help them understand the
concept of structured data, the meaning of machine-readable, and good
stuff like that.



On 8/15/06, Andrew Dalke <dalke at dalkescientific.com> wrote:
> 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
> _______________________________________________
> DAS2 mailing list
> DAS2 at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/das2

Ann Loraine
Assistant Professor
Section on Statistical Genetics
University of Alabama at Birmingham

More information about the DAS2 mailing list