Re: character entity

William F Hammond <[email protected]>
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
"Jack" <[email protected]> writes:

> &Fscr; can not be showed right.
> &Cscr; is ok.

In Mozilla?  Really?

> http://www.zede.info:8000/temp/200609/probabilityI/midterm.xml
> I have already installed all the fonts.

If each named entity were converted to its numeric form, e.g.,
&Fscr; converted to &#x02131; (or the actual character
inserted under, say, the UTF-8 text encoding), this document
should then be OK regarding entities

It will be easier simply to add a reference to a suitable
external DTD, e.g., add

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
            "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">

between the xml declaration and the root element.

But note that an XML user agent, in general, is not required to fetch
an external entity; in this case Mozilla will.

To avoid external entity fetching by Mozilla use this instead:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
            "mathml.dtd">


                                    -- Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.