[relaxng-user] entities and characters?
Daniel Veillard
veillard at redhat.com
Sun Nov 30 11:53:16 ICT 2003
On Sun, Nov 30, 2003 at 11:40:14AM -0500, Bruce D'Arcus wrote:
> However, I'm trying to understand how to deal with this specific
> example, where a) the spec needs to deal with extended characters,
> often (at least currently) in attributes and b) the person developing
> the DTD (Peter Flynn) uses Linux for the most part, is happy with DTDs
> and their entities, and loathe to learn something like RNG unless he
> must. I'm also worried about the portability of the instances that
> results from the spec.
>
> It seems to me it is in fact a bad idea to base anything new on
> entities, but I'm not sure if this is the correct conclusion, nor
> exactly why. At the same time, I gather that using raw unicode
> characters will cause problems for many people, at least currently.
Hum, it sounds to me that using entities in attributes is more
likely to give troubles (SAX "eats" them) when editing than using
Unicode characters. Of course it all depends on the tools used but
I would expect recent editors to be UTF-8 ready on Linux (if not they
need to be chased down and fixed or dropped).
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the relaxng-user
mailing list