Re: TECH: dumb html question
From: | Mark J. Reed <markjreed@...> |
Date: | Monday, January 12, 2004, 18:34 |
On Mon, Jan 12, 2004 at 12:52:45PM -0500, jcowan@REUTERSHEALTH.COM wrote:
> Mark J. Reed scripsit:
>
> > But in both Mozilla Firebird 0.7 and IE 6.1, not only does this not cause
> > &schwa to be recognized, it doesn't even parse correctly. The >
> > that closes the <!ENTITY> tag is interpreted as closing the whole <!DOCTYPE>
> > tag, with the result that the ]> appear as content in the page.
>
> This works fine in Firebird if you force XHTML interpretation: for example, if you
> use a local file with the extension .xhtml or .xml.
Hm. When I did that it stopped treating it as HTML at all; the entity
was expanded, but the content was just dumped as plain text with no
formatting, including the <title> which showed up in the browser's
rendering of the page. I named it '.xhtml', too, not '.xml'.
> I was apparently wrong to say that Firebird automatically applies the HTML
> implicit stylesheet to XHTML files; that works only if they are interpreted
> as HTML. Using an explicit .xml extension blocks this.
Or an .xhtml one, apparently.
-Mark
Reply