Skip to content

Commit 9e337d3

Browse files
committed
ENH: Update expat files
1 parent 9def6b7 commit 9e337d3

21 files changed

+10691
-5902
lines changed

Modules/ThirdParty/Expat/src/expat/COPYING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
2-
and Clark Cooper
1+
Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
2+
Copyright (c) 2001-2019 Expat maintainers
33

44
Permission is hereby granted, free of charge, to any person obtaining
55
a copy of this software and associated documentation files (the

Modules/ThirdParty/Expat/src/expat/ascii.h

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
/*
2-
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
3-
See the file COPYING for copying permission.
2+
__ __ _
3+
___\ \/ /_ __ __ _| |_
4+
/ _ \\ /| '_ \ / _` | __|
5+
| __// \| |_) | (_| | |_
6+
\___/_/\_\ .__/ \__,_|\__|
7+
|_| XML parser
8+
9+
Copyright (c) 1999-2000 Thai Open Source Software Center Ltd
10+
Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
11+
Copyright (c) 2002 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12+
Copyright (c) 2007 Karl Waclawek <karl@waclawek.net>
13+
Copyright (c) 2017 Sebastian Pipping <sebastian@pipping.org>
14+
Licensed under the MIT license:
15+
16+
Permission is hereby granted, free of charge, to any person obtaining
17+
a copy of this software and associated documentation files (the
18+
"Software"), to deal in the Software without restriction, including
19+
without limitation the rights to use, copy, modify, merge, publish,
20+
distribute, sublicense, and/or sell copies of the Software, and to permit
21+
persons to whom the Software is furnished to do so, subject to the
22+
following conditions:
23+
24+
The above copyright notice and this permission notice shall be included
25+
in all copies or substantial portions of the Software.
26+
27+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
30+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
31+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
32+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
33+
USE OR OTHER DEALINGS IN THE SOFTWARE.
434
*/
535

636
#define ASCII_A 0x41
@@ -69,7 +99,7 @@ See the file COPYING for copying permission.
6999
#define ASCII_9 0x39
70100

71101
#define ASCII_TAB 0x09
72-
#define ASCII_SPACE 0x20
102+
#define ASCII_SPACE 0x20
73103
#define ASCII_EXCL 0x21
74104
#define ASCII_QUOT 0x22
75105
#define ASCII_AMP 0x26
@@ -84,3 +114,10 @@ See the file COPYING for copying permission.
84114
#define ASCII_LSQB 0x5B
85115
#define ASCII_RSQB 0x5D
86116
#define ASCII_UNDERSCORE 0x5F
117+
#define ASCII_LPAREN 0x28
118+
#define ASCII_RPAREN 0x29
119+
#define ASCII_FF 0x0C
120+
#define ASCII_SLASH 0x2F
121+
#define ASCII_HASH 0x23
122+
#define ASCII_PIPE 0x7C
123+
#define ASCII_COMMA 0x2C
Lines changed: 62 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,66 @@
11
/*
2-
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
3-
See the file COPYING for copying permission.
2+
__ __ _
3+
___\ \/ /_ __ __ _| |_
4+
/ _ \\ /| '_ \ / _` | __|
5+
| __// \| |_) | (_| | |_
6+
\___/_/\_\ .__/ \__,_|\__|
7+
|_| XML parser
8+
9+
Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
10+
Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
11+
Copyright (c) 2002 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12+
Copyright (c) 2017 Sebastian Pipping <sebastian@pipping.org>
13+
Licensed under the MIT license:
14+
15+
Permission is hereby granted, free of charge, to any person obtaining
16+
a copy of this software and associated documentation files (the
17+
"Software"), to deal in the Software without restriction, including
18+
without limitation the rights to use, copy, modify, merge, publish,
19+
distribute, sublicense, and/or sell copies of the Software, and to permit
20+
persons to whom the Software is furnished to do so, subject to the
21+
following conditions:
22+
23+
The above copyright notice and this permission notice shall be included
24+
in all copies or substantial portions of the Software.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
30+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
31+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
32+
USE OR OTHER DEALINGS IN THE SOFTWARE.
433
*/
534

635
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
7-
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
8-
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
9-
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML,
10-
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
11-
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
12-
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
13-
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
14-
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
15-
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
16-
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
17-
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
18-
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
19-
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
20-
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
21-
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
22-
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
23-
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
24-
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
25-
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
26-
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
27-
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
28-
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
29-
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
30-
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
31-
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
32-
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
33-
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
34-
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
35-
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
36-
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
37-
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,
36+
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
37+
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
38+
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML,
39+
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
40+
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
41+
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
42+
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
43+
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
44+
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
45+
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
46+
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
47+
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
48+
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
49+
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
50+
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
51+
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
52+
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
53+
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
54+
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
55+
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
56+
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
57+
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
58+
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
59+
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
60+
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
61+
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
62+
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
63+
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
64+
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
65+
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
66+
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,

0 commit comments

Comments
 (0)