source: proto/charsetcompiler/inputs/XML_UTF16 @ 3711

Last change on this file since 3711 was 3331, checked in by cameron, 6 years ago

Update UTF-16 and UTF-32 based definitions for XML

File size: 732 bytes
Line 
1# Control Characters and whitespace
2x00_x1F = [\u0000-\u001F]
3CR = [\u000D]
4LF = [\u000A]
5HT = [\u0009]
6SP = [ ]
7# XML Lexical Items
8lex.RefStart = [&]
9lex.Semicolon = [;]
10lex.LAngle = [<]
11lex.RAngle = [>]
12lex.LBracket = [[]
13lex.RBracket = []]
14lex.Exclam = [!]
15lex.QMark = [?]
16lex.Hyphen =  [-]
17lex.Equals = [=]
18lex.SQuote = [']
19lex.DQuote = ["]
20lex.Slash = [/]
21lex.Hash = [#]
22lex.x = [x]
23lex.Colon = [:]
24lex.ASCII_name_start = [_:A-Za-z]
25lex.ASCII_name_char = [-_.0-:A-Za-z]
26lex.NameScan = [-_.0-:A-Za-z\u0080-\uFFFF]
27lex.WS = [\u000D\u000A\u0009 ]
28lex.Digit = [0-9]
29lex.Hex = [0-9A-Fa-f]
30
31lex.NEL = [\u0085]
32lex.LS = [\u2028]
33
34lex.hi_surrogate = [\uD800-\uDBFF]
35lex.lo_surrogate = [\uDC00-\uDFFF]
36
37lex.illegal = [\uFFFE-\uFFFF]
38
39
Note: See TracBrowser for help on using the repository browser.