Re: [xml] xmlChar to int conversion



On Tue, Mar 11, 2003 at 02:48:30PM -0500, Nick Torenvliet wrote:
There isn't some xmlCharToInt type of function already in  libxml?

  I think I'm gonna bite ....
  http://xmlsoft.org/ front page has a pointer with a link to rfc2044
describing UTF8:
   http://www.cis.ohio-state.edu/cs/Services/rfc/rfc-text/rfc2044.txt
the Abstract says
  "UTF-8, the object of this memo, has
   the characteristic of preserving the full US-ASCII range: US-ASCII
   characters are encoded in one octet having the usual US-ASCII value,
   and any octet with such a value can only be an US-ASCII character."
So no you won't find any duplication of sscanf() in libxml2.
Educate yourself, read that spec, it's like 5 pages, and you will
avoid doing foolish things ...

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]