Re: code for parsing content

Karl Waclawek <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Jimmy Zhang wrote:
> Can someone point me to the expat code that
> parses character data? I would like to know
> the line number in the .c and .h files and how it
> checks the validity of the character as defined
> in XML spec...
>
>   

It's mostly done through macros in xmltok.c. Example: UTF8_INVALID2
There are also lookup tables defined in asciitab.h, latin1tab.h, 
utf8tab.h, nametab.h, etc.

Karl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.