Subject: Re: Modern web site design with XML and XSLT
From: "Eric J. Bowman" <eric@xxxxxxxxxxxxxxxx>
Date: Tue, 5 Jan 2010 18:11:26 -0700
|
"Eric J. Bowman" wrote:
>
> A server sending text/xml is expressing an intent that the payload not
> be processed and displayed to casual users. A browser that processes
> XML PIs anyway, is overriding server intent. I cannot get any browser
> to apply a CSS XML PI to content served as text/xml, with the XSLT PI
> commented out.
This is wrong (I forgot that <base/> doesn't affect PIs when I tested),
browsers do indeed apply CSS to text/xml using CSS PIs. This is one
thing, allowing scripts to execute when browser context should be
text/xml is another.
-Eric
|