Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: TECH: dumb html question

From:Mark J. Reed <markjreed@...>
Date:Monday, January 12, 2004, 17:18
RM> Does "&schwa;" exist?

MJR> Nope.  Although one of the nice things about XHTML is that XML lets you
MJR> define your own entities, so that you can add it if you like.

Hm.  But current browsers seem to be badly broken here.

You should be able to add local modifications to the document type
definition within the <!DOCTYPE> processing directive, like so:

<!DOCCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
 [ <!ENTITY schwa "&#601;"> ]>

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.

Ah, well.  Someday.

-Mark

Reply

<jcowan@...>