From 68aca051a61608e6cbbd2d36263e4470008e64f5 Mon Sep 17 00:00:00 2001
From: "William M. Brack" <wbrack@src.gnome.org>
Date: Sat, 11 Oct 2003 15:22:13 +0000
Subject: new files for a different method for doing range validation of
 character

* genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h:
  new files for a different method for doing range validation
  of character data.
* Makefile.am, parserInternals.c, include/libxml/Makefile.am,
  include/libxml/parserInternals.h: modified for new range method.
* catalog.c: small enhance for warning message (using one
  of the new range routines)
---
 chvalid.def | 342 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 342 insertions(+)
 create mode 100755 chvalid.def

(limited to 'chvalid.def')

diff --git a/chvalid.def b/chvalid.def
new file mode 100755
index 00000000..eed7ab5f
--- /dev/null
+++ b/chvalid.def
@@ -0,0 +1,342 @@
+name xmlIsChar
+ur 0x09 0x0a 0x0d 0x20..0xff
+ur 0x000100..0x00d7ff
+ur 0x00e000..0x00fffd
+ur 0x010000..0x10ffff
+end xmlIsChar
+
+name xmlIsPubidChar
+ur 0x20 0x0d 0x0a 'a'..'z' 'A'..'Z' '0'..'9'
+ur '-' '\' '(' ')' '+' ',' '.' '/'
+ur ':' '=' '?' ';' '!' '*' '#' '@'
+ur '$' '_' '%'
+end
+
+name xmlIsBlank
+ur 0x09 0x0a 0x0d 0x20
+end xmlIsBlank
+
+name xmlIsBaseChar
+ur 0x41..0x5a 0x61..0x7a 0xc0..0xd6 0xd8..0xf6 0xf8..0xff
+ur 0x000100..0x000131
+ur 0x000134..0x00013e
+ur 0x000141..0x000148
+ur 0x00014a..0x00017e
+ur 0x000180..0x0001c3
+ur 0x0001cd..0x0001f0
+ur 0x0001f4..0x0001f5
+ur 0x0001fa..0x000217
+ur 0x000250..0x0002a8
+ur 0x0002bb..0x0002c1
+ur 0x000386..0x000386
+ur 0x000388..0x00038a
+ur 0x00038c
+ur 0x00038e..0x0003a1
+ur 0x0003a3..0x0003ce
+ur 0x0003d0..0x0003d6
+ur 0x0003da
+ur 0x0003dc
+ur 0x0003de
+ur 0x0003e0
+ur 0x0003e2..0x0003f3
+ur 0x000401..0x00040c
+ur 0x00040e..0x00044f
+ur 0x000451..0x00045c
+ur 0x00045e..0x000481
+ur 0x000490..0x0004c4
+ur 0x0004c7..0x0004c8
+ur 0x0004cb..0x0004cc
+ur 0x0004d0..0x0004eb
+ur 0x0004ee..0x0004f5
+ur 0x0004f8..0x0004f9
+ur 0x000531..0x000556
+ur 0x000559
+ur 0x000561..0x000586
+ur 0x0005d0..0x0005ea
+ur 0x0005f0..0x0005f2
+ur 0x000621..0x00063a
+ur 0x000641..0x00064a
+ur 0x000671..0x0006b7
+ur 0x0006ba..0x0006be
+ur 0x0006c0..0x0006ce
+ur 0x0006d0..0x0006d3
+ur 0x0006d5
+ur 0x0006e5..0x0006e6
+ur 0x000905..0x000939
+ur 0x00093d
+ur 0x000958..0x000961
+ur 0x000985..0x00098c
+ur 0x00098f..0x000990
+ur 0x000993..0x0009a8
+ur 0x0009aa..0x0009b0
+ur 0x0009b2
+ur 0x0009b6..0x0009b9
+ur 0x0009dc..0x0009dd
+ur 0x0009df..0x0009e1
+ur 0x0009f0..0x0009f1
+ur 0x000a05..0x000a0a
+ur 0x000a0f..0x000a10
+ur 0x000a13..0x000a28
+ur 0x000a2a..0x000a30
+ur 0x000a32..0x000a33
+ur 0x000a35..0x000a36
+ur 0x000a38..0x000a39
+ur 0x000a59..0x000a5c
+ur 0x000a5e
+ur 0x000a72..0x000a74
+ur 0x000a85..0x000a8b
+ur 0x000a8d
+ur 0x000a8f..0x000a91
+ur 0x000a93..0x000aa8
+ur 0x000aaa..0x000ab0
+ur 0x000ab2..0x000ab3
+ur 0x000ab5..0x000ab9
+ur 0x000abd
+ur 0x000ae0
+ur 0x000b05..0x000b0c
+ur 0x000b0f..0x000b10
+ur 0x000b13..0x000b28
+ur 0x000b2a..0x000b30
+ur 0x000b32..0x000b33
+ur 0x000b36..0x000b39
+ur 0x000b3d
+ur 0x000b5c..0x000b5d
+ur 0x000b5f..0x000b61
+ur 0x000b85..0x000b8a
+ur 0x000b8e..0x000b90
+ur 0x000b92..0x000b95
+ur 0x000b99..0x000b9a
+ur 0x000b9c
+ur 0x000b9e..0x000b9f
+ur 0x000ba3..0x000ba4
+ur 0x000ba8..0x000baa
+ur 0x000bae..0x000bb5
+ur 0x000bb7..0x000bb9
+ur 0x000c05..0x000c0c
+ur 0x000c0e..0x000c10
+ur 0x000c12..0x000c28
+ur 0x000c2a..0x000c33
+ur 0x000c35..0x000c39
+ur 0x000c60..0x000c61
+ur 0x000c85..0x000c8c
+ur 0x000c8e..0x000c90
+ur 0x000c92..0x000ca8
+ur 0x000caa..0x000cb3
+ur 0x000cb5..0x000cb9
+ur 0x000cde
+ur 0x000ce0..0x000ce1
+ur 0x000d05..0x000d0c
+ur 0x000d0e..0x000d10
+ur 0x000d12..0x000d28
+ur 0x000d2a..0x000d39
+ur 0x000d60..0x000d61
+ur 0x000e01..0x000e2e
+ur 0x000e30
+ur 0x000e32..0x000e33
+ur 0x000e40..0x000e45
+ur 0x000e81..0x000e82
+ur 0x000e84..0x000e84
+ur 0x000e87..0x000e88
+ur 0x000e8a
+ur 0x000e8d
+ur 0x000e94..0x000e97
+ur 0x000e99..0x000e9f
+ur 0x000ea1..0x000ea3
+ur 0x000ea5
+ur 0x000ea7
+ur 0x000eaa..0x000eab
+ur 0x000ead..0x000eae
+ur 0x000eb0
+ur 0x000eb2..0x000eb3
+ur 0x000ebd
+ur 0x000ec0..0x000ec4
+ur 0x000f40..0x000f47
+ur 0x000f49..0x000f69
+ur 0x0010a0..0x0010c5
+ur 0x0010d0..0x0010f6
+ur 0x001100
+ur 0x001102..0x001103
+ur 0x001105..0x001107
+ur 0x001109
+ur 0x00110b..0x00110c
+ur 0x00110e..0x001112
+ur 0x00113c
+ur 0x00113e
+ur 0x001140
+ur 0x00114c
+ur 0x00114e
+ur 0x001150
+ur 0x001154..0x001155
+ur 0x001159
+ur 0x00115f..0x001161
+ur 0x001163
+ur 0x001165
+ur 0x001167
+ur 0x001169
+ur 0x00116d..0x00116e
+ur 0x001172..0x001173
+ur 0x001175
+ur 0x00119e
+ur 0x0011a8
+ur 0x0011ab
+ur 0x0011ae..0x0011af
+ur 0x0011b7..0x0011b8
+ur 0x0011ba
+ur 0x0011bc..0x0011c2
+ur 0x0011eb
+ur 0x0011f0
+ur 0x0011f9
+ur 0x001e00..0x001e9b
+ur 0x001ea0..0x001ef9
+ur 0x001f00..0x001f15
+ur 0x001f18..0x001f1d
+ur 0x001f20..0x001f45
+ur 0x001f48..0x001f4d
+ur 0x001f50..0x001f57
+ur 0x001f59
+ur 0x001f5b
+ur 0x001f5d
+ur 0x001f5f..0x001f7d
+ur 0x001f80..0x001fb4
+ur 0x001fb6..0x001fbc
+ur 0x001fbe
+ur 0x001fc2..0x001fc4
+ur 0x001fc6..0x001fcc
+ur 0x001fd0..0x001fd3
+ur 0x001fd6..0x001fdb
+ur 0x001fe0..0x001fec
+ur 0x001ff2..0x001ff4
+ur 0x001ff6..0x001ffc
+ur 0x002126
+ur 0x00212a..0x00212b
+ur 0x00212e
+ur 0x002180..0x002182
+ur 0x003041..0x003094
+ur 0x0030a1..0x0030fa
+ur 0x003105..0x00312c
+ur 0x00ac00..0x00d7a3
+end
+name xmlIsDigit
+ur 0x30..0x39
+ur 0x660..0x669
+ur 0x6f0..0x6f9
+ur 0x966..0x96f
+ur 0x9e6..0x9ef
+ur 0xa66..0xa6f
+ur 0xae6..0xaef
+ur 0xb66..0xb6f
+ur 0xbe7..0xbef
+ur 0xc66..0xc6f
+ur 0xce6..0xcef
+ur 0xd66..0xd6f
+ur 0xe50..0xe59
+ur 0xed0..0xed9
+ur 0xf20..0xf29
+end
+name xmlIsCombining
+ur 0x0300..0x0345
+ur 0x0360..0x0361
+ur 0x0483..0x0486
+ur 0x0591..0x05A1
+ur 0x05A3..0x05B9
+ur 0x05BB..0x05BD
+ur 0x05BF
+ur 0x05C1..0x05C2
+ur 0x05C4
+ur 0x064B..0x0652
+ur 0x0670
+ur 0x06D6..0x06DC
+ur 0x06DD..0x06DF
+ur 0x06E0..0x06E4
+ur 0x06E7..0x06E8
+ur 0x06EA..0x06ED
+ur 0x0901..0x0903
+ur 0x093C
+ur 0x093E..0x094C
+ur 0x094D
+ur 0x0951..0x0954
+ur 0x0962..0x0963
+ur 0x0981..0x0983
+ur 0x09BC
+ur 0x09BE
+ur 0x09BF
+ur 0x09C0..0x09C4
+ur 0x09C7..0x09C8
+ur 0x09CB..0x09CD
+ur 0x09D7
+ur 0x09E2..0x09E3
+ur 0x0A02
+ur 0x0A3C
+ur 0x0A3E
+ur 0x0A3F
+ur 0x0A40..0x0A42
+ur 0x0A47..0x0A48
+ur 0x0A4B..0x0A4D
+ur 0x0A70..0x0A71
+ur 0x0A81..0x0A83
+ur 0x0ABC
+ur 0x0ABE..0x0AC5
+ur 0x0AC7..0x0AC9
+ur 0x0ACB..0x0ACD
+ur 0x0B01..0x0B03
+ur 0x0B3C
+ur 0x0B3E..0x0B43
+ur 0x0B47..0x0B48
+ur 0x0B4B..0x0B4D
+ur 0x0B56..0x0B57
+ur 0x0B82..0x0B83
+ur 0x0BBE..0x0BC2
+ur 0x0BC6..0x0BC8
+ur 0x0BCA..0x0BCD
+ur 0x0BD7
+ur 0x0C01..0x0C03
+ur 0x0C3E..0x0C44
+ur 0x0C46..0x0C48
+ur 0x0C4A..0x0C4D
+ur 0x0C55..0x0C56
+ur 0x0C82..0x0C83
+ur 0x0CBE..0x0CC4
+ur 0x0CC6..0x0CC8
+ur 0x0CCA..0x0CCD
+ur 0x0CD5..0x0CD6
+ur 0x0D02..0x0D03
+ur 0x0D3E..0x0D43
+ur 0x0D46..0x0D48
+ur 0x0D4A..0x0D4D
+ur 0x0D57
+ur 0x0E31
+ur 0x0E34..0x0E3A
+ur 0x0E47..0x0E4E
+ur 0x0EB1
+ur 0x0EB4..0x0EB9
+ur 0x0EBB..0x0EBC
+ur 0x0EC8..0x0ECD
+ur 0x0F18..0x0F19
+ur 0x0F35
+ur 0x0F37
+ur 0x0F39
+ur 0x0F3E
+ur 0x0F3F
+ur 0x0F71..0x0F84
+ur 0x0F86..0x0F8B
+ur 0x0F90..0x0F95
+ur 0x0F97
+ur 0x0F99..0x0FAD
+ur 0x0FB1..0x0FB7
+ur 0x0FB9
+ur 0x20D0..0x20DC
+ur 0x20E1
+ur 0x302A..0x302F
+ur 0x3099
+ur 0x309A
+end
+name xmlIsExtender
+ur 0xb7 0x2d0 0x2d1 0x387 0x640 0xe46 0xec6 0x3005 0x3031 0x3032
+ur 0x3033 0x3034 0x3035 0x309d 0x309e 0x30fc 0x30fd 0x30fe
+end
+name xmlIsIdeographic
+ur 0x4300..0x9fa5
+ur 0xf900..0xfa2d
+ur 0x3021..0x3029
+ur 0x3007
+end
-- 
cgit v1.2.3

