xref: /freebsd/contrib/expat/lib/iasciitab.h (revision cc68614da8232d8baaca0ae0d0dd8f890f06623e)
10a48773fSEric van Gyzen /*
20a48773fSEric van Gyzen                             __  __            _
30a48773fSEric van Gyzen                          ___\ \/ /_ __   __ _| |_
40a48773fSEric van Gyzen                         / _ \\  /| '_ \ / _` | __|
50a48773fSEric van Gyzen                        |  __//  \| |_) | (_| | |_
60a48773fSEric van Gyzen                         \___/_/\_\ .__/ \__,_|\__|
70a48773fSEric van Gyzen                                  |_| XML parser
80a48773fSEric van Gyzen 
90a48773fSEric van Gyzen    Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
10*cc68614dSXin LI    Copyright (c) 2000      Clark Cooper <coopercc@users.sourceforge.net>
11*cc68614dSXin LI    Copyright (c) 2002      Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12*cc68614dSXin LI    Copyright (c) 2017      Sebastian Pipping <sebastian@pipping.org>
130a48773fSEric van Gyzen    Licensed under the MIT license:
140a48773fSEric van Gyzen 
150a48773fSEric van Gyzen    Permission is  hereby granted,  free of charge,  to any  person obtaining
160a48773fSEric van Gyzen    a  copy  of  this  software   and  associated  documentation  files  (the
170a48773fSEric van Gyzen    "Software"),  to  deal in  the  Software  without restriction,  including
180a48773fSEric van Gyzen    without  limitation the  rights  to use,  copy,  modify, merge,  publish,
190a48773fSEric van Gyzen    distribute, sublicense, and/or sell copies of the Software, and to permit
200a48773fSEric van Gyzen    persons  to whom  the Software  is  furnished to  do so,  subject to  the
210a48773fSEric van Gyzen    following conditions:
220a48773fSEric van Gyzen 
230a48773fSEric van Gyzen    The above copyright  notice and this permission notice  shall be included
240a48773fSEric van Gyzen    in all copies or substantial portions of the Software.
250a48773fSEric van Gyzen 
260a48773fSEric van Gyzen    THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
270a48773fSEric van Gyzen    EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
280a48773fSEric van Gyzen    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
290a48773fSEric van Gyzen    NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
300a48773fSEric van Gyzen    DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
310a48773fSEric van Gyzen    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
320a48773fSEric van Gyzen    USE OR OTHER DEALINGS IN THE SOFTWARE.
335bb6a25fSPoul-Henning Kamp */
345bb6a25fSPoul-Henning Kamp 
355bb6a25fSPoul-Henning Kamp /* Like asciitab.h, except that 0xD has code BT_S rather than BT_CR */
365bb6a25fSPoul-Henning Kamp /* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
375bb6a25fSPoul-Henning Kamp     /* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
385bb6a25fSPoul-Henning Kamp     /* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
395bb6a25fSPoul-Henning Kamp     /* 0x0C */ BT_NONXML, BT_S, BT_NONXML, BT_NONXML,
405bb6a25fSPoul-Henning Kamp     /* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
415bb6a25fSPoul-Henning Kamp     /* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
425bb6a25fSPoul-Henning Kamp     /* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
435bb6a25fSPoul-Henning Kamp     /* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
445bb6a25fSPoul-Henning Kamp     /* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
455bb6a25fSPoul-Henning Kamp     /* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
465bb6a25fSPoul-Henning Kamp     /* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
475bb6a25fSPoul-Henning Kamp     /* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
485bb6a25fSPoul-Henning Kamp     /* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
495bb6a25fSPoul-Henning Kamp     /* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
505bb6a25fSPoul-Henning Kamp     /* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
515bb6a25fSPoul-Henning Kamp     /* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
525bb6a25fSPoul-Henning Kamp     /* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
535bb6a25fSPoul-Henning Kamp     /* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
545bb6a25fSPoul-Henning Kamp     /* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
555bb6a25fSPoul-Henning Kamp     /* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
565bb6a25fSPoul-Henning Kamp     /* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
575bb6a25fSPoul-Henning Kamp     /* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
585bb6a25fSPoul-Henning Kamp     /* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
595bb6a25fSPoul-Henning Kamp     /* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
605bb6a25fSPoul-Henning Kamp     /* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
615bb6a25fSPoul-Henning Kamp     /* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
625bb6a25fSPoul-Henning Kamp     /* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
635bb6a25fSPoul-Henning Kamp     /* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
645bb6a25fSPoul-Henning Kamp     /* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
655bb6a25fSPoul-Henning Kamp     /* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
665bb6a25fSPoul-Henning Kamp     /* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
675bb6a25fSPoul-Henning Kamp     /* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,
68