Re: [xml] HTML-parser: encoding?



On Thu, Nov 29, 2001 at 11:28:59PM +0100, Elizabeth Mattijsen wrote:
At 05:25 PM 11/29/01 -0500, Daniel Veillard wrote:
Changing it to numeric entities would actually be best, as it wouldn't 
lose
any information.  Hmm...  but can you actually do that?  Wouldn't the next
time you read this into an xml parser, re-create the encoding error again
(having the entity processed)?
  no it would be fine as long as they are in the ranges defined by
XML as valid Chars.

Yes, but they aren't!  That's why they are causing problems in the first 
place.  Or am I missing something here?

  yes 7f-A0 are in the range
  http://www.w3.org/TR/REC-xml#NT-Char

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]