SAX based XML parser
Dependents: giken9_HTMLServer_Temp_Sample
xmltok_impl.h@1:e96b2af301dd, 2011-05-26 (annotated)
- Committer:
- andrewbonney
- Date:
- Thu May 26 10:03:14 2011 +0000
- Revision:
- 1:e96b2af301dd
- Parent:
- 0:07919e3d6c56
Update to reduce buffer sizes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewbonney | 0:07919e3d6c56 | 1 | /* |
andrewbonney | 0:07919e3d6c56 | 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd |
andrewbonney | 0:07919e3d6c56 | 3 | See the file COPYING for copying permission. |
andrewbonney | 0:07919e3d6c56 | 4 | */ |
andrewbonney | 0:07919e3d6c56 | 5 | |
andrewbonney | 0:07919e3d6c56 | 6 | enum { |
andrewbonney | 0:07919e3d6c56 | 7 | BT_NONXML, |
andrewbonney | 0:07919e3d6c56 | 8 | BT_MALFORM, |
andrewbonney | 0:07919e3d6c56 | 9 | BT_LT, |
andrewbonney | 0:07919e3d6c56 | 10 | BT_AMP, |
andrewbonney | 0:07919e3d6c56 | 11 | BT_RSQB, |
andrewbonney | 0:07919e3d6c56 | 12 | BT_LEAD2, |
andrewbonney | 0:07919e3d6c56 | 13 | BT_LEAD3, |
andrewbonney | 0:07919e3d6c56 | 14 | BT_LEAD4, |
andrewbonney | 0:07919e3d6c56 | 15 | BT_TRAIL, |
andrewbonney | 0:07919e3d6c56 | 16 | BT_CR, |
andrewbonney | 0:07919e3d6c56 | 17 | BT_LF, |
andrewbonney | 0:07919e3d6c56 | 18 | BT_GT, |
andrewbonney | 0:07919e3d6c56 | 19 | BT_QUOT, |
andrewbonney | 0:07919e3d6c56 | 20 | BT_APOS, |
andrewbonney | 0:07919e3d6c56 | 21 | BT_EQUALS, |
andrewbonney | 0:07919e3d6c56 | 22 | BT_QUEST, |
andrewbonney | 0:07919e3d6c56 | 23 | BT_EXCL, |
andrewbonney | 0:07919e3d6c56 | 24 | BT_SOL, |
andrewbonney | 0:07919e3d6c56 | 25 | BT_SEMI, |
andrewbonney | 0:07919e3d6c56 | 26 | BT_NUM, |
andrewbonney | 0:07919e3d6c56 | 27 | BT_LSQB, |
andrewbonney | 0:07919e3d6c56 | 28 | BT_S, |
andrewbonney | 0:07919e3d6c56 | 29 | BT_NMSTRT, |
andrewbonney | 0:07919e3d6c56 | 30 | BT_COLON, |
andrewbonney | 0:07919e3d6c56 | 31 | BT_HEX, |
andrewbonney | 0:07919e3d6c56 | 32 | BT_DIGIT, |
andrewbonney | 0:07919e3d6c56 | 33 | BT_NAME, |
andrewbonney | 0:07919e3d6c56 | 34 | BT_MINUS, |
andrewbonney | 0:07919e3d6c56 | 35 | BT_OTHER, /* known not to be a name or name start character */ |
andrewbonney | 0:07919e3d6c56 | 36 | BT_NONASCII, /* might be a name or name start character */ |
andrewbonney | 0:07919e3d6c56 | 37 | BT_PERCNT, |
andrewbonney | 0:07919e3d6c56 | 38 | BT_LPAR, |
andrewbonney | 0:07919e3d6c56 | 39 | BT_RPAR, |
andrewbonney | 0:07919e3d6c56 | 40 | BT_AST, |
andrewbonney | 0:07919e3d6c56 | 41 | BT_PLUS, |
andrewbonney | 0:07919e3d6c56 | 42 | BT_COMMA, |
andrewbonney | 0:07919e3d6c56 | 43 | BT_VERBAR |
andrewbonney | 0:07919e3d6c56 | 44 | }; |
andrewbonney | 0:07919e3d6c56 | 45 | |
andrewbonney | 0:07919e3d6c56 | 46 | #include <stddef.h> |