-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9def6b7
commit 9e337d3
Showing
21 changed files
with
10,691 additions
and
5,902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
/* | ||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd | ||
See the file COPYING for copying permission. | ||
__ __ _ | ||
___\ \/ /_ __ __ _| |_ | ||
/ _ \\ /| '_ \ / _` | __| | ||
| __// \| |_) | (_| | |_ | ||
\___/_/\_\ .__/ \__,_|\__| | ||
|_| XML parser | ||
Copyright (c) 1999-2000 Thai Open Source Software Center Ltd | ||
Copyright (c) 2000 Clark Cooper <[email protected]> | ||
Copyright (c) 2002 Fred L. Drake, Jr. <[email protected]> | ||
Copyright (c) 2007 Karl Waclawek <[email protected]> | ||
Copyright (c) 2017 Sebastian Pipping <[email protected]> | ||
Licensed under the MIT license: | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to permit | ||
persons to whom the Software is furnished to do so, subject to the | ||
following conditions: | ||
The above copyright notice and this permission notice shall be included | ||
in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | ||
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | ||
USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
|
||
#define ASCII_A 0x41 | ||
|
@@ -69,7 +99,7 @@ See the file COPYING for copying permission. | |
#define ASCII_9 0x39 | ||
|
||
#define ASCII_TAB 0x09 | ||
#define ASCII_SPACE 0x20 | ||
#define ASCII_SPACE 0x20 | ||
#define ASCII_EXCL 0x21 | ||
#define ASCII_QUOT 0x22 | ||
#define ASCII_AMP 0x26 | ||
|
@@ -84,3 +114,10 @@ See the file COPYING for copying permission. | |
#define ASCII_LSQB 0x5B | ||
#define ASCII_RSQB 0x5D | ||
#define ASCII_UNDERSCORE 0x5F | ||
#define ASCII_LPAREN 0x28 | ||
#define ASCII_RPAREN 0x29 | ||
#define ASCII_FF 0x0C | ||
#define ASCII_SLASH 0x2F | ||
#define ASCII_HASH 0x23 | ||
#define ASCII_PIPE 0x7C | ||
#define ASCII_COMMA 0x2C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,66 @@ | ||
/* | ||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd | ||
See the file COPYING for copying permission. | ||
__ __ _ | ||
___\ \/ /_ __ __ _| |_ | ||
/ _ \\ /| '_ \ / _` | __| | ||
| __// \| |_) | (_| | |_ | ||
\___/_/\_\ .__/ \__,_|\__| | ||
|_| XML parser | ||
Copyright (c) 1997-2000 Thai Open Source Software Center Ltd | ||
Copyright (c) 2000 Clark Cooper <[email protected]> | ||
Copyright (c) 2002 Fred L. Drake, Jr. <[email protected]> | ||
Copyright (c) 2017 Sebastian Pipping <[email protected]> | ||
Licensed under the MIT license: | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to permit | ||
persons to whom the Software is furnished to do so, subject to the | ||
following conditions: | ||
The above copyright notice and this permission notice shall be included | ||
in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | ||
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | ||
USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
|
||
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML, | ||
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML, | ||
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM, | ||
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS, | ||
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS, | ||
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL, | ||
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI, | ||
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST, | ||
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB, | ||
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT, | ||
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER, | ||
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER, | ||
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML, | ||
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML, | ||
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM, | ||
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS, | ||
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS, | ||
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL, | ||
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI, | ||
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST, | ||
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB, | ||
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT, | ||
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER, | ||
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER, |
Oops, something went wrong.