RE: [xml-dev] xml rendering browser problems

From
Tony Nassar <>
To
"" <>
Date
2010-08-17T21:28:15Z
ID
<>
Thread
RE: [xml-dev] xml rendering browser problems
If you right-click in Firefox, you'll see that it knows very well that the type is text/xml. The one way I can see to get Firefox to render this in a useful way is to have Firebug installed, right-click in the window displaying simply "Test", and select "Inspect element," which will give you the DOM. 

-----Original Message-----
From: Manos Batsis [mailto:] 
Sent: Tuesday, August 17, 2010 3:09 PM
To: 
Subject: Re: [xml-dev] xml rendering browser problems

On 08/17/2010 05:39 PM, Paul M wrote:
> I have this xml:
> <myxml>
> <body>
> <p xmlns="http://www.w3.org/1999/xhtml">Test</p>
> </body>
> </myxml>
>
> Firefox will attempt to render this as html.
>
>
> <myxml>
> <body>
> <p>Test</p>
> </body>
> </myxml>
>
> Firefox will attempt to parse this as xml.
>
> The response type has no affect on Firefox behavior.

Weird. I'd first verify what is the MIME FF actually figures this to be 
(i.e. right click, page info or something). Maybe you are not actually 
sending the right headers.

hth,

Manos

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: 
subscribe: 
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php