Lists Home |
Date Index |
> Well, I did say "for experimentation". It could then be standardised
> using the usual &-syntax.
The trouble is I'm not sure that the experiment would provide any useful
Given an implementation of some macro expansion mechanism then basically
macros get expanded and so are invisble to the rest of the system, so
whatever macro/entity you come up with, everything works the same way.
However different design choices have radically different behaviour if
the document is processed by a system that doesn't know of the
mechanism or can't find the macro definitions. It's really the behaviour
in these error situations that distinguishes the different design
<foo>\gamma</foo> on a processor that doesn't know this is today's
entity syntax will see that as element content of 6 characters \ g a m m a
In particular the system would provide no warning that anything had been
whereas <foo>γ</foo> will be seen as a well formed or validity
error depending on what's in the <!DOCTYPE. So experiences gained by
experimenting with \gamma won't really give a good indication of
the user experience if the syntax was switched to γ
In practice I'd like to just use a standard SGML or XMl catalog system
to default a DTD containing entity declarations on to well formed
documents that don't have a doctype but do have entity references,
Apart from this dtd defaulting everything else could proceed as before
and it would not really disrupt my current XML processing practices in
the way that inserting a completely different macro expansion step would
do (and does).
Of course if I use an SGML system, that works now, I can have
and sp will tell me it's valid if I default the mathml dtd on to
documents with top level element math. Basically the "experiment" that
I want to do is to be able to say that is pukka XML and the fragment
that I actually pass around is well formed XML.
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.