00001 /* 00002 The contents of this file are subject to the Mozilla Public License 00003 Version 1.1 (the "License"); you may not use this file except in 00004 compliance with the License. You may obtain a copy of the License at 00005 http://www.mozilla.org/MPL/ 00006 00007 Software distributed under the License is distributed on an "AS IS" 00008 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 00009 License for the specific language governing rights and limitations 00010 under the License. 00011 00012 The Original Code is expat. 00013 00014 The Initial Developer of the Original Code is James Clark. 00015 Portions created by James Clark are Copyright (C) 1998, 1999 00016 James Clark. All Rights Reserved. 00017 00018 Contributor(s): 00019 00020 Alternatively, the contents of this file may be used under the terms 00021 of the GNU General Public License (the "GPL"), in which case the 00022 provisions of the GPL are applicable instead of those above. If you 00023 wish to allow use of your version of this file only under the terms of 00024 the GPL and not to allow others to use your version of this file under 00025 the MPL, indicate your decision by deleting the provisions above and 00026 replace them with the notice and other provisions required by the 00027 GPL. If you do not delete the provisions above, a recipient may use 00028 your version of this file under either the MPL or the GPL. 00029 */ 00030 00031 enum { 00032 BT_NONXML, 00033 BT_MALFORM, 00034 BT_LT, 00035 BT_AMP, 00036 BT_RSQB, 00037 BT_LEAD2, 00038 BT_LEAD3, 00039 BT_LEAD4, 00040 BT_TRAIL, 00041 BT_CR, 00042 BT_LF, 00043 BT_GT, 00044 BT_QUOT, 00045 BT_APOS, 00046 BT_EQUALS, 00047 BT_QUEST, 00048 BT_EXCL, 00049 BT_SOL, 00050 BT_SEMI, 00051 BT_NUM, 00052 BT_LSQB, 00053 BT_S, 00054 BT_NMSTRT, 00055 BT_COLON, 00056 BT_HEX, 00057 BT_DIGIT, 00058 BT_NAME, 00059 BT_MINUS, 00060 BT_OTHER, /* known not to be a name or name start character */ 00061 BT_NONASCII, /* might be a name or name start character */ 00062 BT_PERCNT, 00063 BT_LPAR, 00064 BT_RPAR, 00065 BT_AST, 00066 BT_PLUS, 00067 BT_COMMA, 00068 BT_VERBAR 00069 }; 00070 00071 #include <stddef.h>