1998-04-05 11:11:29 -04:00
|
|
|
/*
|
|
|
|
The contents of this file are subject to the Mozilla Public License
|
1999-05-28 22:19:21 -04:00
|
|
|
Version 1.1 (the "License"); you may not use this file except in
|
1998-04-05 11:11:29 -04:00
|
|
|
compliance with the License. You may obtain a copy of the License at
|
|
|
|
http://www.mozilla.org/MPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS"
|
|
|
|
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
|
|
License for the specific language governing rights and limitations
|
|
|
|
under the License.
|
|
|
|
|
|
|
|
The Original Code is expat.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is James Clark.
|
1999-05-28 22:19:21 -04:00
|
|
|
Portions created by James Clark are Copyright (C) 1998, 1999
|
1998-04-05 11:11:29 -04:00
|
|
|
James Clark. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
1999-05-28 22:19:21 -04:00
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms
|
|
|
|
of the GNU General Public License (the "GPL"), in which case the
|
|
|
|
provisions of the GPL are applicable instead of those above. If you
|
|
|
|
wish to allow use of your version of this file only under the terms of
|
|
|
|
the GPL and not to allow others to use your version of this file under
|
|
|
|
the MPL, indicate your decision by deleting the provisions above and
|
|
|
|
replace them with the notice and other provisions required by the
|
|
|
|
GPL. If you do not delete the provisions above, a recipient may use
|
|
|
|
your version of this file under either the MPL or the GPL.
|
1998-04-05 11:11:29 -04:00
|
|
|
*/
|
|
|
|
|
1997-11-10 01:10:11 -05:00
|
|
|
enum {
|
|
|
|
BT_NONXML,
|
|
|
|
BT_MALFORM,
|
|
|
|
BT_LT,
|
|
|
|
BT_AMP,
|
1997-12-10 02:44:19 -05:00
|
|
|
BT_RSQB,
|
1997-11-10 01:10:11 -05:00
|
|
|
BT_LEAD2,
|
|
|
|
BT_LEAD3,
|
|
|
|
BT_LEAD4,
|
|
|
|
BT_TRAIL,
|
1997-12-10 02:44:19 -05:00
|
|
|
BT_CR,
|
|
|
|
BT_LF,
|
1997-11-10 01:10:11 -05:00
|
|
|
BT_GT,
|
|
|
|
BT_QUOT,
|
|
|
|
BT_APOS,
|
|
|
|
BT_EQUALS,
|
|
|
|
BT_QUEST,
|
|
|
|
BT_EXCL,
|
|
|
|
BT_SOL,
|
|
|
|
BT_SEMI,
|
|
|
|
BT_NUM,
|
|
|
|
BT_LSQB,
|
|
|
|
BT_S,
|
|
|
|
BT_NMSTRT,
|
1998-08-22 18:40:45 -04:00
|
|
|
BT_COLON,
|
1997-11-10 01:10:11 -05:00
|
|
|
BT_HEX,
|
|
|
|
BT_DIGIT,
|
|
|
|
BT_NAME,
|
|
|
|
BT_MINUS,
|
|
|
|
BT_OTHER, /* known not to be a name or name start character */
|
1997-11-13 04:05:46 -05:00
|
|
|
BT_NONASCII, /* might be a name or name start character */
|
|
|
|
BT_PERCNT,
|
|
|
|
BT_LPAR,
|
|
|
|
BT_RPAR,
|
|
|
|
BT_AST,
|
|
|
|
BT_PLUS,
|
|
|
|
BT_COMMA,
|
|
|
|
BT_VERBAR
|
1997-11-10 01:10:11 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#include <stddef.h>
|