unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yurivkhan@gmail.com>
To: Allan Gottlieb <gottlieb@nyu.edu>
Cc: help-gnu-emacs@gnu.org
Subject: Re: sgml-validate
Date: Sun, 20 Feb 2011 23:25:04 +0600	[thread overview]
Message-ID: <AANLkTinQWKdwfSsnnHV3mWbf9yq7NwdZqbj3hoiPUEzg@mail.gmail.com> (raw)
In-Reply-To: <yu9y65fi94i.fsf@nyu.edu>

On Thu, Feb 17, 2011 at 10:21, Allan Gottlieb <gottlieb@nyu.edu> wrote:

> I had hoped I would be able to put somewhere in my .html file
> some version of
> <entity-defs>
>  ge #x2265
>  ...
> </entity-defs>
> But I see from your reply that this will not be possible.

In fact, in an XML document you should be able to specify an internal
subset in your document type declaration:

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
<!ENTITY ge "&#x2265;">
]>

Any conforming XML parser should then understand &ge; in the rest of
the document, along with the built-in &lt;, &gt;, &amp;, &quot;, and
&apos;. Whether the web browsers use conforming XML parsers is an
entirely different matter.



  reply	other threads:[~2011-02-20 17:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05  3:48 sgml-validate Allan Gottlieb
2011-02-05 13:02 ` sgml-validate Andreas Röhler
     [not found] ` <mailman.6.1296910957.7938.help-gnu-emacs@gnu.org>
2011-02-13  0:39   ` sgml-validate William F Hammond
2011-02-13 15:29     ` sgml-validate Allan Gottlieb
     [not found]     ` <mailman.10.1297610953.15503.help-gnu-emacs@gnu.org>
2011-02-17  0:56       ` sgml-validate William F Hammond
2011-02-17  4:21         ` sgml-validate Allan Gottlieb
2011-02-20 17:25           ` Yuri Khan [this message]
2011-02-22 14:44             ` sgml-validate Allan Gottlieb
2011-02-22 20:03               ` sgml-validate Yuri Khan
2011-02-23 14:34                 ` sgml-validate Allan Gottlieb
     [not found]         ` <mailman.6.1297916501.11971.help-gnu-emacs@gnu.org>
2011-02-19  0:25           ` sgml-validate William F Hammond
2011-02-20 13:19             ` sgml-validate Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinQWKdwfSsnnHV3mWbf9yq7NwdZqbj3hoiPUEzg@mail.gmail.com \
    --to=yurivkhan@gmail.com \
    --cc=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).