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