XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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:manos_lists@geekologue.com] 
Sent: Tuesday, August 17, 2010 3:09 PM
To: xml-dev@lists.xml.org
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: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS