W3C home > Mailing lists > Public > www-archive@w3.org > August 2005

replacing entity refs with numeric character refs [was: wf fixes]

From: Dan Connolly <connolly@w3.org>
Date: Fri, 19 Aug 2005 09:27:19 -0500
To: Kendall Clark <kendall@monkeyfist.com>
Cc: www-archive@w3.org
Message-Id: <1124461639.5099.247.camel@dirk>

Also, it's sort of a pain to deal with &mdash; and
&ntilde; i.e. things that rely on the DTD.

I use tidy to look them up like this:

$ echo " &mdash;" | tidy -n -q
...
&#8212;

$ echo " &ntilde;" | tidy -n -q
...
&#241;

I did the search-and-replace in my local copy (so that I can
check the spec with python modules that use expat in its default
mode) but I won't check those in without your explicit OK.


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 19 August 2005 14:27:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:52 GMT