' not recognized

Hi,

   HTML Tidy doesn't regognize ' as a valid XML entitiy (when in
'-xml' mode). XML defines these entities:

  <!ENTITY lt     "&#38;#60;">
  <!ENTITY gt     "&#62;">
  <!ENTITY amp    "&#38;#38;">
  <!ENTITY apos   "&#39;">
  <!ENTITY quot   "&#34;">

Just including &apos; in entities.c would enforce a major
interoperability problem, since HTML 4.01 doesn't define this entity, so
entity encoding routines would generate non-compliant code (if ' is ever
encoded as &apos;). What to do about that?
-- 
Björn Höhrmann | mailto:bjoern@hoehrmann.de | http://www.bjoernsworld.de
am Badedeich 7 | Telefon: +49(0)4667/981028 | http://bjoern.hoehrmann.de
25899 Dagebüll | PGP Pub. KeyID: 0xA4357E78 | http://www.learn.to/quote/

Received on Thursday, 12 April 2001 16:50:36 UTC