W3C home > Mailing lists > Public > www-html@w3.org > August 2002

Re: Comments on XHTML 2.0 Working Draft

From: William F Hammond <hammond@csc.albany.edu>
Date: 07 Aug 2002 19:03:02 -0400
To: www-html@w3.org
Message-ID: <i7sn1ql1ax.fsf@hilbert.math.albany.edu>

Jens Müller <jens.lists@unfaehig.de> writes:

> >     <!ENTITY % charstuff "#PCDATA|ltc|gtc|amp|dollar|euro">,
> >
> > and, of course, use of the character entities would not be precluded.

> &lt; etc. are characters (represented by named entity references) and
> treated as such in any transformation and in any parser.

"&lt;" after a parse is merely "&#x3c;".  I do not want to place
numeric values in, say, an XSLT sheet.  In fact, on this topic see
complaints about the necessity of using raw unicode values with MathML
in the log for www-math@w3.org since user agents do not always read
dtd's.

Moreover, I do not to want make transformation branching decisions on
CDATA points.  Transformation branching is sometimes necessary with
special characters such as "&lt;".

> What is the advantage of having an element present a character? Why
> not have <letter-a /> representing "a" etc.?

No, since there is no output format I imagine in which "a" is a
special character.

In this vein, however, something like <specchar name="ltc"/>
would be OK; with that the short form <ltc/> would be only for
convenience, and I would then limit the short forms to "ltc", "gtc",
and "amp".

                                    -- Bill
Received on Wednesday, 7 August 2002 19:03:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:52 GMT