17db96d56Sopenharmony_ci/*
27db96d56Sopenharmony_ci                            __  __            _
37db96d56Sopenharmony_ci                         ___\ \/ /_ __   __ _| |_
47db96d56Sopenharmony_ci                        / _ \\  /| '_ \ / _` | __|
57db96d56Sopenharmony_ci                       |  __//  \| |_) | (_| | |_
67db96d56Sopenharmony_ci                        \___/_/\_\ .__/ \__,_|\__|
77db96d56Sopenharmony_ci                                 |_| XML parser
87db96d56Sopenharmony_ci
97db96d56Sopenharmony_ci   Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
107db96d56Sopenharmony_ci   Copyright (c) 2000      Clark Cooper <coopercc@users.sourceforge.net>
117db96d56Sopenharmony_ci   Copyright (c) 2002      Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
127db96d56Sopenharmony_ci   Copyright (c) 2017      Sebastian Pipping <sebastian@pipping.org>
137db96d56Sopenharmony_ci   Licensed under the MIT license:
147db96d56Sopenharmony_ci
157db96d56Sopenharmony_ci   Permission is  hereby granted,  free of charge,  to any  person obtaining
167db96d56Sopenharmony_ci   a  copy  of  this  software   and  associated  documentation  files  (the
177db96d56Sopenharmony_ci   "Software"),  to  deal in  the  Software  without restriction,  including
187db96d56Sopenharmony_ci   without  limitation the  rights  to use,  copy,  modify, merge,  publish,
197db96d56Sopenharmony_ci   distribute, sublicense, and/or sell copies of the Software, and to permit
207db96d56Sopenharmony_ci   persons  to whom  the Software  is  furnished to  do so,  subject to  the
217db96d56Sopenharmony_ci   following conditions:
227db96d56Sopenharmony_ci
237db96d56Sopenharmony_ci   The above copyright  notice and this permission notice  shall be included
247db96d56Sopenharmony_ci   in all copies or substantial portions of the Software.
257db96d56Sopenharmony_ci
267db96d56Sopenharmony_ci   THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
277db96d56Sopenharmony_ci   EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
287db96d56Sopenharmony_ci   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
297db96d56Sopenharmony_ci   NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
307db96d56Sopenharmony_ci   DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
317db96d56Sopenharmony_ci   OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
327db96d56Sopenharmony_ci   USE OR OTHER DEALINGS IN THE SOFTWARE.
337db96d56Sopenharmony_ci*/
347db96d56Sopenharmony_ci
357db96d56Sopenharmony_ci/* 0x80 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
367db96d56Sopenharmony_ci    /* 0x84 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
377db96d56Sopenharmony_ci    /* 0x88 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
387db96d56Sopenharmony_ci    /* 0x8C */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
397db96d56Sopenharmony_ci    /* 0x90 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
407db96d56Sopenharmony_ci    /* 0x94 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
417db96d56Sopenharmony_ci    /* 0x98 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
427db96d56Sopenharmony_ci    /* 0x9C */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
437db96d56Sopenharmony_ci    /* 0xA0 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
447db96d56Sopenharmony_ci    /* 0xA4 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
457db96d56Sopenharmony_ci    /* 0xA8 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
467db96d56Sopenharmony_ci    /* 0xAC */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
477db96d56Sopenharmony_ci    /* 0xB0 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
487db96d56Sopenharmony_ci    /* 0xB4 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
497db96d56Sopenharmony_ci    /* 0xB8 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
507db96d56Sopenharmony_ci    /* 0xBC */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
517db96d56Sopenharmony_ci    /* 0xC0 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
527db96d56Sopenharmony_ci    /* 0xC4 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
537db96d56Sopenharmony_ci    /* 0xC8 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
547db96d56Sopenharmony_ci    /* 0xCC */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
557db96d56Sopenharmony_ci    /* 0xD0 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
567db96d56Sopenharmony_ci    /* 0xD4 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
577db96d56Sopenharmony_ci    /* 0xD8 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
587db96d56Sopenharmony_ci    /* 0xDC */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
597db96d56Sopenharmony_ci    /* 0xE0 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
607db96d56Sopenharmony_ci    /* 0xE4 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
617db96d56Sopenharmony_ci    /* 0xE8 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
627db96d56Sopenharmony_ci    /* 0xEC */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
637db96d56Sopenharmony_ci    /* 0xF0 */ BT_LEAD4, BT_LEAD4, BT_LEAD4, BT_LEAD4,
647db96d56Sopenharmony_ci    /* 0xF4 */ BT_LEAD4, BT_NONXML, BT_NONXML, BT_NONXML,
657db96d56Sopenharmony_ci    /* 0xF8 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
667db96d56Sopenharmony_ci    /* 0xFC */ BT_NONXML, BT_NONXML, BT_MALFORM, BT_MALFORM,
67