Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/xmldebug.xml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <!DOCTYPE language SYSTEM "language.dtd"> | 2 | <!DOCTYPE language SYSTEM "language.dtd"> | ||
3 | <language version="7" kateversion="2.4" name="XML (Debug)" section="Markup" extensions="" mimetype=""> | 3 | <language version="8" kateversion="5.0" name="XML (Debug)" section="Markup" extensions="" mimetype=""> | ||
dhaumann: I believe DetectSpaces does not exist in kateview="2.4". Please raise to kateversion="5.0" | |||||
4 | <highlighting> | 4 | <highlighting> | ||
5 | <list name="AttType"> | 5 | <list name="AttType"> | ||
6 | <item>CDATA</item> | 6 | <item>CDATA</item> | ||
7 | <item>ID</item> | 7 | <item>ID</item> | ||
8 | <item>IDREF</item> | 8 | <item>IDREF</item> | ||
9 | <item>IDREFS</item> | 9 | <item>IDREFS</item> | ||
10 | <item>ENTITY</item> | 10 | <item>ENTITY</item> | ||
11 | <item>ENTITIES</item> | 11 | <item>ENTITIES</item> | ||
12 | <item>NMTOKEN</item> | 12 | <item>NMTOKEN</item> | ||
13 | <item>NMTOKENS</item> | 13 | <item>NMTOKENS</item> | ||
14 | </list> | 14 | </list> | ||
15 | <contexts> | 15 | <contexts> | ||
16 | 16 | | |||
17 | <context name="0:prolog" attribute="Error" lineEndContext="#stay"> | 17 | <context name="0:prolog" attribute="Error" lineEndContext="#stay"> | ||
18 | <RegExpr attribute="Doctype Declaration" context="1:XMLDecl Version" String="<\?xml(\s+|$)"/> | 18 | <RegExpr attribute="Doctype Declaration" context="1:XMLDecl Version" String="<\?xml(\s+|$)"/> | ||
19 | </context> | 19 | </context> | ||
20 | 20 | | |||
21 | <context name="1:XMLDecl Version" attribute="Error" lineEndContext="#stay"> | 21 | <context name="1:XMLDecl Version" attribute="Error" lineEndContext="#stay"> | ||
22 | <RegExpr attribute="Attribute" context="2:XMLDecl Version Eq" String="\s*version\s*"/> | 22 | <RegExpr attribute="Attribute" context="2:XMLDecl Version Eq" String="\s*version\s*"/> | ||
23 | <RegExpr attribute="Doctype Declaration" String="\s+" context="#stay"/> | 23 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
24 | </context> | 24 | </context> | ||
25 | 25 | | |||
26 | <context name="2:XMLDecl Version Eq" attribute="Error" lineEndContext="5:XMLDecl Encoding Eq"> | 26 | <context name="2:XMLDecl Version Eq" attribute="Error" lineEndContext="5:XMLDecl Encoding Eq"> | ||
27 | <RegExpr attribute="Attribute" context="3:XMLDecl Version" String="\s*=\s*"/> | 27 | <RegExpr attribute="Attribute" context="3:XMLDecl Version" String="\s*=\s*"/> | ||
28 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 28 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
29 | </context> | 29 | </context> | ||
30 | 30 | | |||
31 | <context name="3:XMLDecl Version" attribute="Error" lineEndContext="#stay"> | 31 | <context name="3:XMLDecl Version" attribute="Error" lineEndContext="#stay"> | ||
32 | <RegExpr attribute="Value" context="4:XMLDecl Encoding" String="\s*("[A-Za-z0-9:._-]*"|'[A-Za-z0-9:._-]*')(?!e)\s*"/> | 32 | <RegExpr attribute="Value" context="4:XMLDecl Encoding" String="\s*("[A-Za-z0-9:._-]*"|'[A-Za-z0-9:._-]*')(?!e)\s*"/> | ||
33 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 33 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
34 | </context> | 34 | </context> | ||
35 | 35 | | |||
36 | <context name="4:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> | 36 | <context name="4:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> | ||
37 | <RegExpr attribute="Attribute" context="5:XMLDecl Encoding Eq" String="\s*encoding\s*"/> | 37 | <RegExpr attribute="Attribute" context="5:XMLDecl Encoding Eq" String="\s*encoding\s*"/> | ||
38 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 38 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
39 | <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> | 39 | <Detect2Chars attribute="Doctype Declaration" context="11:Misc after XMLDecl" char="?" char1=">"/> | ||
40 | </context> | 40 | </context> | ||
41 | 41 | | |||
42 | <context name="5:XMLDecl Encoding Eq" attribute="Error" lineEndContext="#stay"> | 42 | <context name="5:XMLDecl Encoding Eq" attribute="Error" lineEndContext="#stay"> | ||
43 | <RegExpr attribute="Attribute" context="6:XMLDecl Encoding" String="\s*=\s*"/> | 43 | <RegExpr attribute="Attribute" context="6:XMLDecl Encoding" String="\s*=\s*"/> | ||
44 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 44 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
45 | </context> | 45 | </context> | ||
46 | 46 | | |||
47 | <context name="6:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> | 47 | <context name="6:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> | ||
48 | <RegExpr attribute="Value" context="7:XMLDecl Standalone" String="\s*("[A-Za-z][A-Za-z0-9._-]*"|'[A-Za-z][A-Za-z0-9._-]*')(?!s)\s*"/> | 48 | <RegExpr attribute="Value" context="7:XMLDecl Standalone" String="\s*("[A-Za-z][A-Za-z0-9._-]*"|'[A-Za-z][A-Za-z0-9._-]*')(?!s)\s*"/> | ||
49 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 49 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
50 | </context> | 50 | </context> | ||
51 | 51 | | |||
52 | <context name="7:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | 52 | <context name="7:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | ||
53 | <RegExpr attribute="Attribute" context="8:XMLDecl Standalone Eq" String="\s*standalone\s*"/> | 53 | <RegExpr attribute="Attribute" context="8:XMLDecl Standalone Eq" String="\s*standalone\s*"/> | ||
54 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 54 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
55 | <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> | 55 | <Detect2Chars attribute="Doctype Declaration" context="11:Misc after XMLDecl" char="?" char1=">"/> | ||
56 | </context> | 56 | </context> | ||
57 | 57 | | |||
58 | <context name="8:XMLDecl Standalone Eq" attribute="Error" lineEndContext="#stay"> | 58 | <context name="8:XMLDecl Standalone Eq" attribute="Error" lineEndContext="#stay"> | ||
59 | <RegExpr attribute="Attribute" context="9:XMLDecl Standalone" String="\s*=\s*"/> | 59 | <RegExpr attribute="Attribute" context="9:XMLDecl Standalone" String="\s*=\s*"/> | ||
60 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 60 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
61 | </context> | 61 | </context> | ||
62 | 62 | | |||
63 | <context name="9:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | 63 | <context name="9:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | ||
64 | <RegExpr attribute="Value" context="10:XMLDecl Standalone" String="\s*"(yes|no)"|'(yes|no)'\s*"/> | 64 | <RegExpr attribute="Value" context="10:XMLDecl Standalone" String="\s*"(yes|no)"|'(yes|no)'\s*"/> | ||
65 | <RegExpr attribute="Attribute" context="#stay" String="\s+"/> | 65 | <DetectSpaces attribute="Attribute" context="#stay"/> | ||
66 | </context> | 66 | </context> | ||
67 | 67 | | |||
68 | <context name="10:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | 68 | <context name="10:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> | ||
69 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 69 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
70 | <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> | 70 | <Detect2Chars attribute="Doctype Declaration" context="11:Misc after XMLDecl" char="?" char1=">"/> | ||
71 | </context> | 71 | </context> | ||
72 | 72 | | |||
73 | <context name="11:Misc after XMLDecl" attribute="Error" lineEndContext="#stay"> | 73 | <context name="11:Misc after XMLDecl" attribute="Error" lineEndContext="#stay"> | ||
74 | <RegExpr attribute="Normal Text" context="#stay" String="\s+"/> | 74 | <DetectSpaces attribute="Normal Text" context="#stay"/> | ||
75 | <RegExpr attribute="Comment" context="12:Comment after XMLDecl" String="\s*<!--\s*"/> | 75 | <RegExpr attribute="Comment" context="12:Comment after XMLDecl" String="\s*<!--\s*"/> | ||
76 | <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?xml-stylesheet(\s+|$)"/> | 76 | <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?xml-stylesheet(\s+|$)"/> | ||
77 | <RegExpr attribute="Error" context="13:PI after XMLDecl" String="\s*<\??[xX][mM][lL]"/> | 77 | <RegExpr attribute="Error" context="13:PI after XMLDecl" String="\s*<\??[xX][mM][lL]"/> | ||
78 | <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> | 78 | <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> | ||
79 | <RegExpr attribute="Doctype Declaration" context="14:Doctype Decl Name" String="<!DOCTYPE(\s+|$)"/> | 79 | <RegExpr attribute="Doctype Declaration" context="14:Doctype Decl Name" String="<!DOCTYPE(\s+|$)"/> | ||
80 | <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 80 | <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
81 | <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 81 | <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
82 | <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 82 | <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
83 | <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 83 | <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
84 | <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 84 | <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
85 | <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 85 | <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
86 | <RegExpr attribute="Entity" context="79:Outside" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 86 | <RegExpr attribute="Entity" context="79:Outside" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
87 | <RegExpr attribute="Entity" context="79:Outside" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 87 | <RegExpr attribute="Entity" context="79:Outside" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
88 | <RegExpr attribute="Entity" context="86:CDSect" String="<!\[CDATA\["/> | 88 | <StringDetect attribute="Entity" context="86:CDSect" String="<![CDATA["/> | ||
89 | <RegExpr attribute="Comment" context="87:Comment inside IS" String="<!--"/> | 89 | <StringDetect attribute="Comment" context="87:Comment inside IS" String="<!--"/> | ||
90 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> | 90 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> | ||
91 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 91 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
92 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 92 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
93 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 93 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
94 | <DetectChar attribute="Error" context="79:Outside" char="<"/> | 94 | <DetectChar attribute="Error" context="79:Outside" char="<"/> | ||
95 | <DetectChar attribute="Error" context="79:Outside" char="&"/> | 95 | <DetectChar attribute="Error" context="79:Outside" char="&"/> | ||
96 | <RegExpr attribute="Error" context="79:Outside" String="\]\]>"/> | 96 | <StringDetect attribute="Error" context="79:Outside" String="]]>"/> | ||
97 | </context> | 97 | </context> | ||
98 | 98 | | |||
99 | <context name="12:Comment after XMLDecl" attribute="Comment" lineEndContext="#stay"> | 99 | <context name="12:Comment after XMLDecl" attribute="Comment" lineEndContext="#stay"> | ||
100 | <RegExpr attribute="Error" context="#pop" String="--->"/> | 100 | <StringDetect attribute="Error" context="#pop" String="--->"/> | ||
101 | <RegExpr attribute="Comment" context="#pop" String="-->"/> | 101 | <StringDetect attribute="Comment" context="#pop" String="-->"/> | ||
102 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | 102 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | ||
103 | </context> | 103 | </context> | ||
104 | 104 | | |||
105 | <context name="13:PI after XMLDecl" attribute="Processing Instruction Body" lineEndContext="#stay"> | 105 | <context name="13:PI after XMLDecl" attribute="Processing Instruction Body" lineEndContext="#stay"> | ||
106 | <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">"/> | 106 | <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">"/> | ||
107 | </context> | 107 | </context> | ||
108 | 108 | | |||
109 | <context name="14:Doctype Decl Name" attribute="Error" lineEndContext="#stay"> | 109 | <context name="14:Doctype Decl Name" attribute="Error" lineEndContext="#stay"> | ||
110 | <RegExpr attribute="Doctype Declaration" context="15:Doctype Decl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 110 | <RegExpr attribute="Doctype Declaration" context="15:Doctype Decl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
111 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 111 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
112 | </context> | 112 | </context> | ||
113 | 113 | | |||
114 | <context name="15:Doctype Decl ExternalID" attribute="Error" lineEndContext="#stay"> | 114 | <context name="15:Doctype Decl ExternalID" attribute="Error" lineEndContext="#stay"> | ||
115 | <RegExpr attribute="Doctype Declaration" context="16:Doctype Decl PublicID" String="PUBLIC(\s+|$)"/> | 115 | <RegExpr attribute="Doctype Declaration" context="16:Doctype Decl PublicID" String="PUBLIC(\s+|$)"/> | ||
116 | <RegExpr attribute="Doctype Declaration" context="19:Doctype Decl SystemID" String="SYSTEM(\s+|$)"/> | 116 | <RegExpr attribute="Doctype Declaration" context="19:Doctype Decl SystemID" String="SYSTEM(\s+|$)"/> | ||
117 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> | 117 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> | ||
118 | <!-- rodda: this was originally context="?", so my best guess... most likely wrong --> | 118 | <!-- rodda: this was originally context="?", so my best guess... most likely wrong --> | ||
119 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 119 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
120 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 120 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
121 | </context> | 121 | </context> | ||
122 | 122 | | |||
123 | <context name="16:Doctype Decl PublicID" attribute="Error" lineEndContext="#stay"> | 123 | <context name="16:Doctype Decl PublicID" attribute="Error" lineEndContext="#stay"> | ||
124 | <DetectChar attribute="Value" context="17:Doctype Decl PublicID qq" char="""/> | 124 | <DetectChar attribute="Value" context="17:Doctype Decl PublicID qq" char="""/> | ||
125 | <DetectChar attribute="Value" context="18:Doctype Decl PublicID q" char="'"/> | 125 | <DetectChar attribute="Value" context="18:Doctype Decl PublicID q" char="'"/> | ||
126 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 126 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
127 | </context> | 127 | </context> | ||
128 | 128 | | |||
129 | <context name="17:Doctype Decl PublicID qq" attribute="Error" lineEndContext="#stay"> | 129 | <context name="17:Doctype Decl PublicID qq" attribute="Error" lineEndContext="#stay"> | ||
130 | <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char="""/> | 130 | <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char="""/> | ||
131 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | 131 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | ||
132 | </context> | 132 | </context> | ||
133 | 133 | | |||
134 | <context name="18:Doctype Decl PublicID q" attribute="Value" lineEndContext="#stay"> | 134 | <context name="18:Doctype Decl PublicID q" attribute="Value" lineEndContext="#stay"> | ||
135 | <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char="'"/> | 135 | <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char="'"/> | ||
136 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | 136 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | ||
137 | </context> | 137 | </context> | ||
138 | 138 | | |||
139 | <context name="19:Doctype Decl SystemID" attribute="Error" lineEndContext="#stay"> | 139 | <context name="19:Doctype Decl SystemID" attribute="Error" lineEndContext="#stay"> | ||
140 | <DetectChar attribute="Value" context="20:Doctype Decl SystemID qq" char="""/> | 140 | <DetectChar attribute="Value" context="20:Doctype Decl SystemID qq" char="""/> | ||
141 | <DetectChar attribute="Value" context="21:Doctype Decl SystemID q" char="'"/> | 141 | <DetectChar attribute="Value" context="21:Doctype Decl SystemID q" char="'"/> | ||
142 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 142 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
143 | </context> | 143 | </context> | ||
144 | 144 | | |||
145 | <context name="20:Doctype Decl SystemID qq" attribute="Value" lineEndContext="#stay"> | 145 | <context name="20:Doctype Decl SystemID qq" attribute="Value" lineEndContext="#stay"> | ||
146 | <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="""/> | 146 | <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="""/> | ||
147 | </context> | 147 | </context> | ||
148 | 148 | | |||
149 | <context name="21:Doctype Decl SystemID q" attribute="Value" lineEndContext="#stay"> | 149 | <context name="21:Doctype Decl SystemID q" attribute="Value" lineEndContext="#stay"> | ||
150 | <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="'"/> | 150 | <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="'"/> | ||
151 | </context> | 151 | </context> | ||
152 | 152 | | |||
153 | <context name="22:Doctype Decl IS or end" attribute="Error" lineEndContext="#stay"> | 153 | <context name="22:Doctype Decl IS or end" attribute="Error" lineEndContext="#stay"> | ||
154 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> | 154 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> | ||
155 | <DetectChar attribute="Doctype Declaration" context="79:Outside" char=">"/> | 155 | <DetectChar attribute="Doctype Declaration" context="79:Outside" char=">"/> | ||
156 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 156 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
157 | </context> | 157 | </context> | ||
158 | 158 | | |||
159 | <context name="23:Doctype Decl IS" attribute="Error" lineEndContext="#stay"> | 159 | <context name="23:Doctype Decl IS" attribute="Error" lineEndContext="#stay"> | ||
160 | <RegExpr attribute="Entity" context="#stay" String="%(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 160 | <RegExpr attribute="Entity" context="#stay" String="%(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
161 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 161 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
162 | <RegExpr attribute="Doctype Declaration" context="24:elementdecl" String="<!ELEMENT(\s+|$)"/> | 162 | <RegExpr attribute="Doctype Declaration" context="24:elementdecl" String="<!ELEMENT(\s+|$)"/> | ||
163 | <RegExpr attribute="Doctype Declaration" context="38:AttlistDecl" String="<!ATTLIST(\s+|$)"/> | 163 | <RegExpr attribute="Doctype Declaration" context="38:AttlistDecl" String="<!ATTLIST(\s+|$)"/> | ||
164 | <RegExpr attribute="Doctype Declaration" context="50:EntityDecl" String="<!ENTITY(\s+|$)"/> | 164 | <RegExpr attribute="Doctype Declaration" context="50:EntityDecl" String="<!ENTITY(\s+|$)"/> | ||
165 | <RegExpr attribute="Doctype Declaration" context="71:NotationDecl Name" String="<!NOTATION(\s+|$)"/> | 165 | <RegExpr attribute="Doctype Declaration" context="71:NotationDecl Name" String="<!NOTATION(\s+|$)"/> | ||
166 | <RegExpr attribute="Comment" context="77:Comment inside IS" String="\s*<!--\s*"/> | 166 | <RegExpr attribute="Comment" context="77:Comment inside IS" String="\s*<!--\s*"/> | ||
167 | <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?xml-stylesheet(\s+|$)"/> | 167 | <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?xml-stylesheet(\s+|$)"/> | ||
168 | <RegExpr attribute="Error" context="78:PI inside IS" String="\s*<\??[xX][mM][lL]"/> | 168 | <RegExpr attribute="Error" context="78:PI inside IS" String="\s*<\??[xX][mM][lL]"/> | ||
169 | <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> | 169 | <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> | ||
170 | <Detect2Chars attribute="Doctype Declaration" context="79:Outside" char="]" char1=">"/> | 170 | <Detect2Chars attribute="Doctype Declaration" context="79:Outside" char="]" char1=">"/> | ||
171 | </context> | 171 | </context> | ||
172 | 172 | | |||
173 | <context name="24:elementdecl" attribute="Error" lineEndContext="#stay"> | 173 | <context name="24:elementdecl" attribute="Error" lineEndContext="#stay"> | ||
174 | <RegExpr attribute="Normal Tag" context="25:contentspec" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | 174 | <RegExpr attribute="Normal Tag" context="25:contentspec" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | ||
175 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 175 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
176 | </context> | 176 | </context> | ||
177 | 177 | | |||
178 | <context name="25:contentspec" attribute="Error" lineEndContext="#stay"> | 178 | <context name="25:contentspec" attribute="Error" lineEndContext="#stay"> | ||
179 | <RegExpr attribute="Attribute" context="37:element end" String="(EMPTY|ANY)"/> | 179 | <RegExpr attribute="Attribute" context="37:element end" String="(EMPTY|ANY)"/> | ||
180 | <DetectChar attribute="Attribute" context="26:MixedOrChildren" char="("/> | 180 | <DetectChar attribute="Attribute" context="26:MixedOrChildren" char="("/> | ||
181 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 181 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
182 | </context> | 182 | </context> | ||
183 | 183 | | |||
184 | <context name="26:MixedOrChildren" attribute="Error" lineEndContext="#stay"> | 184 | <context name="26:MixedOrChildren" attribute="Error" lineEndContext="#stay"> | ||
185 | <RegExpr attribute="Attribute" context="27:MixedShort" String="#PCDATA"/> | 185 | <StringDetect attribute="Attribute" context="27:MixedShort" String="#PCDATA"/> | ||
186 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 186 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
187 | <DetectChar attribute="Doctype Declaration" context="30:children unknown" char="("/> | 187 | <DetectChar attribute="Doctype Declaration" context="30:children unknown" char="("/> | ||
188 | <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | 188 | <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | ||
189 | </context> | 189 | </context> | ||
190 | 190 | | |||
191 | <context name="27:MixedShort" attribute="Error" lineEndContext="#stay"> | 191 | <context name="27:MixedShort" attribute="Error" lineEndContext="#stay"> | ||
192 | <DetectChar attribute="Doctype Declaration" context="28:MixedLong" char="|"/> | 192 | <DetectChar attribute="Doctype Declaration" context="28:MixedLong" char="|"/> | ||
193 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 193 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
194 | <DetectChar attribute="Doctype Declaration" context="37:element end" char=")"/> | 194 | <DetectChar attribute="Doctype Declaration" context="37:element end" char=")"/> | ||
195 | </context> | 195 | </context> | ||
196 | 196 | | |||
197 | <context name="28:MixedLong" attribute="Error" lineEndContext="#stay"> | 197 | <context name="28:MixedLong" attribute="Error" lineEndContext="#stay"> | ||
198 | <RegExpr attribute="Value" context="29:MixedLong endOrContinue" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | 198 | <RegExpr attribute="Value" context="29:MixedLong endOrContinue" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | ||
199 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 199 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
200 | </context> | 200 | </context> | ||
201 | 201 | | |||
202 | <context name="29:MixedLong endOrContinue" attribute="Error" lineEndContext="#stay"> | 202 | <context name="29:MixedLong endOrContinue" attribute="Error" lineEndContext="#stay"> | ||
203 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | 203 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | ||
204 | <RegExpr attribute="Doctype Declaration" context="#pop#pop" String="\s+"/> | 204 | <DetectSpaces attribute="Doctype Declaration" context="#pop#pop"/> | ||
205 | <Detect2Chars attribute="Doctype Declaration" context="37:element end" char=")" char1="*"/> | 205 | <Detect2Chars attribute="Doctype Declaration" context="37:element end" char=")" char1="*"/> | ||
206 | </context> | 206 | </context> | ||
207 | 207 | | |||
208 | <context name="30:children unknown" attribute="Error" lineEndContext="#stay"> | 208 | <context name="30:children unknown" attribute="Error" lineEndContext="#stay"> | ||
209 | <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> | 209 | <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> | ||
210 | <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> | 210 | <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> | ||
211 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 211 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
212 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | 212 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | ||
213 | </context> | 213 | </context> | ||
214 | 214 | | |||
215 | <context name="31:children unknownOrEnd" attribute="Error" lineEndContext="#stay"> | 215 | <context name="31:children unknownOrEnd" attribute="Error" lineEndContext="#stay"> | ||
216 | <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> | 216 | <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> | ||
217 | <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> | 217 | <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> | ||
218 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 218 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
219 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\)[\?\*\+]?"/> | 219 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\)[\?\*\+]?"/> | ||
220 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 220 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
221 | </context> | 221 | </context> | ||
222 | 222 | | |||
223 | <context name="32:children unknownName" attribute="Error" lineEndContext="#stay"> | 223 | <context name="32:children unknownName" attribute="Error" lineEndContext="#stay"> | ||
224 | <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | 224 | <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | ||
225 | <DetectChar attribute="Doctype Declaration" context="#stay" char="("/> | 225 | <DetectChar attribute="Doctype Declaration" context="#stay" char="("/> | ||
226 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 226 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
227 | </context> | 227 | </context> | ||
228 | 228 | | |||
229 | <context name="33:children choice" attribute="Error" lineEndContext="#stay"> | 229 | <context name="33:children choice" attribute="Error" lineEndContext="#stay"> | ||
230 | <RegExpr attribute="Value" context="34:children choiceOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | 230 | <RegExpr attribute="Value" context="34:children choiceOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | ||
231 | <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> | 231 | <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> | ||
232 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 232 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
233 | </context> | 233 | </context> | ||
234 | 234 | | |||
235 | <context name="34:children choiceOrEnd" attribute="Error" lineEndContext="#stay"> | 235 | <context name="34:children choiceOrEnd" attribute="Error" lineEndContext="#stay"> | ||
236 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | 236 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | ||
237 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 237 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
238 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | 238 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | ||
239 | </context> | 239 | </context> | ||
240 | 240 | | |||
241 | <context name="35:children seq" attribute="Error" lineEndContext="#stay"> | 241 | <context name="35:children seq" attribute="Error" lineEndContext="#stay"> | ||
242 | <RegExpr attribute="Value" context="36:children seqOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | 242 | <RegExpr attribute="Value" context="36:children seqOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> | ||
243 | <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> | 243 | <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> | ||
244 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 244 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
245 | </context> | 245 | </context> | ||
246 | 246 | | |||
247 | <context name="36:children seqOrEnd" attribute="Error" lineEndContext="#stay"> | 247 | <context name="36:children seqOrEnd" attribute="Error" lineEndContext="#stay"> | ||
248 | <DetectChar attribute="Doctype Declaration" context="#pop" char=","/> | 248 | <DetectChar attribute="Doctype Declaration" context="#pop" char=","/> | ||
249 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 249 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
250 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | 250 | <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> | ||
251 | </context> | 251 | </context> | ||
252 | 252 | | |||
253 | <context name="37:element end" attribute="Error" lineEndContext="#stay"> | 253 | <context name="37:element end" attribute="Error" lineEndContext="#stay"> | ||
254 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 254 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
255 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 255 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
256 | </context> | 256 | </context> | ||
257 | 257 | | |||
258 | <context name="38:AttlistDecl" attribute="Error" lineEndContext="#stay"> | 258 | <context name="38:AttlistDecl" attribute="Error" lineEndContext="#stay"> | ||
259 | <RegExpr attribute="Normal Tag" context="39:AttDef" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 259 | <RegExpr attribute="Normal Tag" context="39:AttDef" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
260 | <RegExpr attribute="Normal Tag" context="23:Doctype Decl IS" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*>"/> | 260 | <RegExpr attribute="Normal Tag" context="23:Doctype Decl IS" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*>"/> | ||
261 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 261 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
262 | </context> | 262 | </context> | ||
263 | 263 | | |||
264 | <context name="39:AttDef" attribute="Error" lineEndContext="#stay"> | 264 | <context name="39:AttDef" attribute="Error" lineEndContext="#stay"> | ||
265 | <RegExpr attribute="Attribute" context="40:AttType" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 265 | <RegExpr attribute="Attribute" context="40:AttType" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
266 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 266 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
267 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 267 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
268 | </context> | 268 | </context> | ||
269 | 269 | | |||
270 | <context name="40:AttType" attribute="Error" lineEndContext="#stay"> | 270 | <context name="40:AttType" attribute="Error" lineEndContext="#stay"> | ||
271 | <keyword attribute="Doctype Declaration" context="46:DefaultDecl" String="AttType"/> | 271 | <keyword attribute="Doctype Declaration" context="46:DefaultDecl" String="AttType"/> | ||
272 | <RegExpr attribute="Doctype Declaration" context="41:NotationStart" String="NOTATION(\s+|$)"/> | 272 | <RegExpr attribute="Doctype Declaration" context="41:NotationStart" String="NOTATION(\s+|$)"/> | ||
273 | <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> | 273 | <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> | ||
274 | <RegExpr attribute="Doctype Declaration" context="#pop" String="\s+"/> | 274 | <DetectSpaces attribute="Doctype Declaration" context="#pop"/> | ||
275 | </context> | 275 | </context> | ||
276 | 276 | | |||
277 | <context name="41:NotationStart" attribute="Error" lineEndContext="#stay"> | 277 | <context name="41:NotationStart" attribute="Error" lineEndContext="#stay"> | ||
278 | <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> | 278 | <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> | ||
279 | <RegExpr attribute="Doctype Declaration" context="#pop#pop" String="\s+"/> | 279 | <DetectSpaces attribute="Doctype Declaration" context="#pop#pop"/> | ||
280 | </context> | 280 | </context> | ||
281 | 281 | | |||
282 | <context name="42:Notation" attribute="Error" lineEndContext="#stay"> | 282 | <context name="42:Notation" attribute="Error" lineEndContext="#stay"> | ||
283 | <RegExpr attribute="Value" context="43:Notation or End" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | 283 | <RegExpr attribute="Value" context="43:Notation or End" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | ||
284 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 284 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
285 | </context> | 285 | </context> | ||
286 | 286 | | |||
287 | <context name="43:Notation or End" attribute="Error" lineEndContext="#stay"> | 287 | <context name="43:Notation or End" attribute="Error" lineEndContext="#stay"> | ||
288 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | 288 | <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> | ||
289 | <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> | 289 | <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> | ||
290 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 290 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
291 | </context> | 291 | </context> | ||
292 | 292 | | |||
293 | <!-- | 293 | <!-- | ||
294 | <context name="44:Enumeration" attribute="Error" lineEndContext="#stay"> | 294 | <context name="44:Enumeration" attribute="Error" lineEndContext="#stay"> | ||
295 | <RegExpr attribute="Value" context="#stay" String="(\w|[_:.-])+"/> | 295 | <RegExpr attribute="Value" context="#stay" String="(\w|[_:.-])+"/> | ||
296 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 296 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
297 | </context> | 297 | </context> | ||
298 | 298 | | |||
299 | <context name="45:Enumeration or End" attribute="Error" lineEndContext="#stay"> | 299 | <context name="45:Enumeration or End" attribute="Error" lineEndContext="#stay"> | ||
300 | <DetectChar attribute="Doctype Declaration" context="44:Enumeration" char="|"/> | 300 | <DetectChar attribute="Doctype Declaration" context="44:Enumeration" char="|"/> | ||
301 | <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> | 301 | <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> | ||
302 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 302 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
303 | </context>--> | 303 | </context>--> | ||
304 | 304 | | |||
305 | <context name="46:DefaultDecl" attribute="Error" lineEndContext="#stay"> | 305 | <context name="46:DefaultDecl" attribute="Error" lineEndContext="#stay"> | ||
306 | <RegExpr attribute="Attribute" context="39:AttDef" String="(#REQUIRED|#IMPLIED)(\s+|$)"/> | 306 | <RegExpr attribute="Attribute" context="39:AttDef" String="(#REQUIRED|#IMPLIED)(\s+|$)"/> | ||
307 | <RegExpr attribute="Attribute" context="47:DefaultDecl AttValue" String="#FIXED(\s+|$)"/> | 307 | <RegExpr attribute="Attribute" context="47:DefaultDecl AttValue" String="#FIXED(\s+|$)"/> | ||
308 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 308 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
309 | <RegExpr attribute="Value" context="48:DefaultDecl AttValue qq" String="""/> | 309 | <DetectChar attribute="Value" context="48:DefaultDecl AttValue qq" char="""/> | ||
310 | <RegExpr attribute="Value" context="49:DefaultDecl AttValue q" String="'"/> | 310 | <DetectChar attribute="Value" context="49:DefaultDecl AttValue q" char="'"/> | ||
311 | </context> | 311 | </context> | ||
312 | 312 | | |||
313 | <context name="47:DefaultDecl AttValue" attribute="Error" lineEndContext="#stay"> | 313 | <context name="47:DefaultDecl AttValue" attribute="Error" lineEndContext="#stay"> | ||
314 | <RegExpr attribute="Value" context="48:DefaultDecl AttValue qq" String="""/> | 314 | <DetectChar attribute="Value" context="48:DefaultDecl AttValue qq" char="""/> | ||
315 | <RegExpr attribute="Value" context="49:DefaultDecl AttValue q" String="'"/> | 315 | <DetectChar attribute="Value" context="49:DefaultDecl AttValue q" char="'"/> | ||
316 | </context> | 316 | </context> | ||
317 | 317 | | |||
318 | <context name="48:DefaultDecl AttValue qq" attribute="Value" lineEndContext="#stay"> | 318 | <context name="48:DefaultDecl AttValue qq" attribute="Value" lineEndContext="#stay"> | ||
319 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 319 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
320 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 320 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
321 | <DetectChar attribute="Error" context="#stay" char="&"/> | 321 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
322 | <DetectChar attribute="Error" context="#stay" char="<"/> | 322 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
323 | <DetectChar attribute="Value" context="39:AttDef" char="""/> | 323 | <DetectChar attribute="Value" context="39:AttDef" char="""/> | ||
324 | </context> | 324 | </context> | ||
325 | 325 | | |||
326 | <context name="49:DefaultDecl AttValue q" attribute="Value" lineEndContext="#stay"> | 326 | <context name="49:DefaultDecl AttValue q" attribute="Value" lineEndContext="#stay"> | ||
327 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 327 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
328 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 328 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
329 | <DetectChar attribute="Error" context="#stay" char="&"/> | 329 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
330 | <DetectChar attribute="Error" context="#stay" char="<"/> | 330 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
331 | <DetectChar attribute="Value" context="39:AttDef" char="""/> | 331 | <DetectChar attribute="Value" context="39:AttDef" char="""/> | ||
332 | </context> | 332 | </context> | ||
333 | 333 | | |||
334 | <context name="50:EntityDecl" attribute="Error" lineEndContext="#stay"> | 334 | <context name="50:EntityDecl" attribute="Error" lineEndContext="#stay"> | ||
335 | <RegExpr attribute="Entity" context="52:GEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 335 | <RegExpr attribute="Entity" context="52:GEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
336 | <DetectChar attribute="Entity" context="61:PEDecl" char="%"/> | 336 | <DetectChar attribute="Entity" context="61:PEDecl" char="%"/> | ||
337 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 337 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
338 | </context> | 338 | </context> | ||
339 | 339 | | |||
340 | <!-- <context name="51:unused" attribute="Error" lineEndContext="#stay" /> --> | 340 | <!-- <context name="51:unused" attribute="Error" lineEndContext="#stay" /> --> | ||
341 | 341 | | |||
342 | <context name="52:GEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> | 342 | <context name="52:GEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> | ||
343 | <RegExpr attribute="Value" context="53:GEDecl EntityValue qq" String="""/> | 343 | <DetectChar attribute="Value" context="53:GEDecl EntityValue qq" char="""/> | ||
344 | <RegExpr attribute="Value" context="54:GEDecl EntityValue q" String="'"/> | 344 | <DetectChar attribute="Value" context="54:GEDecl EntityValue q" char="'"/> | ||
345 | <RegExpr attribute="Doctype Declaration" context="55:GEDecl PublicID" String="PUBLIC(\s+|$)"/> | 345 | <RegExpr attribute="Doctype Declaration" context="55:GEDecl PublicID" String="PUBLIC(\s+|$)"/> | ||
346 | <RegExpr attribute="Doctype Declaration" context="58:GEDecl SystemID" String="SYSTEM(\s+|$)"/> | 346 | <RegExpr attribute="Doctype Declaration" context="58:GEDecl SystemID" String="SYSTEM(\s+|$)"/> | ||
347 | </context> | 347 | </context> | ||
348 | 348 | | |||
349 | <context name="53:GEDecl EntityValue qq" attribute="Value" lineEndContext="#stay"> | 349 | <context name="53:GEDecl EntityValue qq" attribute="Value" lineEndContext="#stay"> | ||
350 | <RegExpr attribute="Entity" context="#stay" String="[&%](?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 350 | <RegExpr attribute="Entity" context="#stay" String="[&%](?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
351 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 351 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
352 | <DetectChar attribute="Error" context="#stay" char="&"/> | 352 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
Show All 9 Lines | 358 | <context name="54:GEDecl EntityValue q" attribute="Value" lineEndContext="#stay"> | |||
362 | <DetectChar attribute="Error" context="#stay" char="%"/> | 362 | <DetectChar attribute="Error" context="#stay" char="%"/> | ||
363 | <DetectChar attribute="Error" context="#stay" char="<"/> | 363 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
364 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> | 364 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> | ||
365 | </context> | 365 | </context> | ||
366 | 366 | | |||
367 | <context name="55:GEDecl PublicID" attribute="Error" lineEndContext="#stay"> | 367 | <context name="55:GEDecl PublicID" attribute="Error" lineEndContext="#stay"> | ||
368 | <DetectChar attribute="Value" context="56:GEDecl PublicID qq" char="""/> | 368 | <DetectChar attribute="Value" context="56:GEDecl PublicID qq" char="""/> | ||
369 | <DetectChar attribute="Value" context="57:GEDecl PublicID q" char="'"/> | 369 | <DetectChar attribute="Value" context="57:GEDecl PublicID q" char="'"/> | ||
370 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 370 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
371 | </context> | 371 | </context> | ||
372 | 372 | | |||
373 | <context name="56:GEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | 373 | <context name="56:GEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | ||
374 | <DetectChar attribute="Value" context="58:GEDecl SystemID" char="""/> | 374 | <DetectChar attribute="Value" context="58:GEDecl SystemID" char="""/> | ||
375 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | 375 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | ||
376 | </context> | 376 | </context> | ||
377 | 377 | | |||
378 | <context name="57:GEDecl PublicID q" attribute="Value" lineEndContext="#stay"> | 378 | <context name="57:GEDecl PublicID q" attribute="Value" lineEndContext="#stay"> | ||
379 | <DetectChar attribute="Value" context="58:GEDecl SystemID" char="'"/> | 379 | <DetectChar attribute="Value" context="58:GEDecl SystemID" char="'"/> | ||
380 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | 380 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | ||
381 | </context> | 381 | </context> | ||
382 | 382 | | |||
383 | <context name="58:GEDecl SystemID" attribute="Error" lineEndContext="#stay"> | 383 | <context name="58:GEDecl SystemID" attribute="Error" lineEndContext="#stay"> | ||
384 | <DetectChar attribute="Value" context="59:GEDecl SystemID qq" char="""/> | 384 | <DetectChar attribute="Value" context="59:GEDecl SystemID qq" char="""/> | ||
385 | <DetectChar attribute="Value" context="60:GEDecl SystemID q" char="'"/> | 385 | <DetectChar attribute="Value" context="60:GEDecl SystemID q" char="'"/> | ||
386 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 386 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
387 | </context> | 387 | </context> | ||
388 | 388 | | |||
389 | <context name="59:GEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> | 389 | <context name="59:GEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> | ||
390 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="""/> | 390 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="""/> | ||
391 | </context> | 391 | </context> | ||
392 | 392 | | |||
393 | <context name="60:GEDecl SystemID q" attribute="Value" lineEndContext="#stay"> | 393 | <context name="60:GEDecl SystemID q" attribute="Value" lineEndContext="#stay"> | ||
394 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> | 394 | <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> | ||
395 | </context> | 395 | </context> | ||
396 | 396 | | |||
397 | <context name="61:PEDecl" attribute="Error" lineEndContext="#stay"> | 397 | <context name="61:PEDecl" attribute="Error" lineEndContext="#stay"> | ||
398 | <RegExpr attribute="Entity" context="62:PEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 398 | <RegExpr attribute="Entity" context="62:PEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
399 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 399 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
400 | </context> | 400 | </context> | ||
401 | 401 | | |||
402 | <context name="62:PEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> | 402 | <context name="62:PEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> | ||
403 | <RegExpr attribute="Value" context="53:GEDecl EntityValue qq" String="""/> | 403 | <DetectChar attribute="Value" context="53:GEDecl EntityValue qq" char="""/> | ||
404 | <RegExpr attribute="Value" context="54:GEDecl EntityValue q" String="'"/> | 404 | <DetectChar attribute="Value" context="54:GEDecl EntityValue q" char="'"/> | ||
405 | <RegExpr attribute="Doctype Declaration" context="63:PEDecl PublicID" String="PUBLIC(\s+|$)"/> | 405 | <RegExpr attribute="Doctype Declaration" context="63:PEDecl PublicID" String="PUBLIC(\s+|$)"/> | ||
406 | <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> | 406 | <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> | ||
407 | </context> | 407 | </context> | ||
408 | 408 | | |||
409 | <context name="63:PEDecl PublicID" attribute="Error" lineEndContext="#stay"> | 409 | <context name="63:PEDecl PublicID" attribute="Error" lineEndContext="#stay"> | ||
410 | <DetectChar attribute="Value" context="64:PEDecl PublicID qq" char="""/> | 410 | <DetectChar attribute="Value" context="64:PEDecl PublicID qq" char="""/> | ||
411 | <DetectChar attribute="Value" context="65:PEDecl PublicID q" char="'"/> | 411 | <DetectChar attribute="Value" context="65:PEDecl PublicID q" char="'"/> | ||
412 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 412 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
413 | </context> | 413 | </context> | ||
414 | 414 | | |||
415 | <context name="64:PEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | 415 | <context name="64:PEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | ||
416 | <DetectChar attribute="Value" context="66:PEDecl SystemID" char="""/> | 416 | <DetectChar attribute="Value" context="66:PEDecl SystemID" char="""/> | ||
417 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | 417 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | ||
418 | </context> | 418 | </context> | ||
419 | 419 | | |||
420 | <context name="65:PEDecl PublicID q" attribute="Value" lineEndContext="#stay"> | 420 | <context name="65:PEDecl PublicID q" attribute="Value" lineEndContext="#stay"> | ||
421 | <DetectChar attribute="Value" context="66:PEDecl SystemID" char="'"/> | 421 | <DetectChar attribute="Value" context="66:PEDecl SystemID" char="'"/> | ||
422 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | 422 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | ||
423 | </context> | 423 | </context> | ||
424 | 424 | | |||
425 | <context name="66:PEDecl SystemID" attribute="Error" lineEndContext="#stay"> | 425 | <context name="66:PEDecl SystemID" attribute="Error" lineEndContext="#stay"> | ||
426 | <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> | 426 | <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> | ||
427 | <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> | 427 | <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> | ||
428 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 428 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
429 | </context> | 429 | </context> | ||
430 | 430 | | |||
431 | <context name="67:PEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> | 431 | <context name="67:PEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> | ||
432 | <DetectChar attribute="Value" context="37:element end" char="""/> | 432 | <DetectChar attribute="Value" context="37:element end" char="""/> | ||
433 | </context> | 433 | </context> | ||
434 | 434 | | |||
435 | <context name="68:PEDecl SystemID q" attribute="Value" lineEndContext="#stay"> | 435 | <context name="68:PEDecl SystemID q" attribute="Value" lineEndContext="#stay"> | ||
436 | <DetectChar attribute="Value" context="37:element end" char="'"/> | 436 | <DetectChar attribute="Value" context="37:element end" char="'"/> | ||
437 | </context> | 437 | </context> | ||
438 | 438 | | |||
439 | <context name="69:GEDecl endOrNDATA" attribute="Error" lineEndContext="#stay"> | 439 | <context name="69:GEDecl endOrNDATA" attribute="Error" lineEndContext="#stay"> | ||
440 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 440 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
441 | <RegExpr attribute="Doctype Declaration" context="70:GEDecl NDATA" String="NDATA(\s+|$)"/> | 441 | <RegExpr attribute="Doctype Declaration" context="70:GEDecl NDATA" String="NDATA(\s+|$)"/> | ||
442 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 442 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
443 | </context> | 443 | </context> | ||
444 | 444 | | |||
445 | <context name="70:GEDecl NDATA" attribute="Error" lineEndContext="#stay"> | 445 | <context name="70:GEDecl NDATA" attribute="Error" lineEndContext="#stay"> | ||
446 | <RegExpr attribute="Entity" context="37:element end" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | 446 | <RegExpr attribute="Entity" context="37:element end" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> | ||
447 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 447 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
448 | </context> | 448 | </context> | ||
449 | 449 | | |||
450 | <context name="71:NotationDecl Name" attribute="Error" lineEndContext="#stay"> | 450 | <context name="71:NotationDecl Name" attribute="Error" lineEndContext="#stay"> | ||
451 | <RegExpr attribute="Entity" context="72:NotationDecl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | 451 | <RegExpr attribute="Entity" context="72:NotationDecl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> | ||
452 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 452 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
453 | </context> | 453 | </context> | ||
454 | 454 | | |||
455 | <context name="72:NotationDecl ExternalID" attribute="Error" lineEndContext="#stay"> | 455 | <context name="72:NotationDecl ExternalID" attribute="Error" lineEndContext="#stay"> | ||
456 | <RegExpr attribute="Doctype Declaration" context="73:NotationDecl PublicID" String="PUBLIC(\s+|$)"/> | 456 | <RegExpr attribute="Doctype Declaration" context="73:NotationDecl PublicID" String="PUBLIC(\s+|$)"/> | ||
457 | <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> | 457 | <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> | ||
458 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 458 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
459 | </context> | 459 | </context> | ||
460 | 460 | | |||
461 | <context name="73:NotationDecl PublicID" attribute="Error" lineEndContext="#stay"> | 461 | <context name="73:NotationDecl PublicID" attribute="Error" lineEndContext="#stay"> | ||
462 | <DetectChar attribute="Value" context="74:NotationDecl PublicID qq" char="""/> | 462 | <DetectChar attribute="Value" context="74:NotationDecl PublicID qq" char="""/> | ||
463 | <DetectChar attribute="Value" context="75:NotationDecl PublicID q" char="'"/> | 463 | <DetectChar attribute="Value" context="75:NotationDecl PublicID q" char="'"/> | ||
464 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 464 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
465 | </context> | 465 | </context> | ||
466 | 466 | | |||
467 | <context name="74:NotationDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | 467 | <context name="74:NotationDecl PublicID qq" attribute="Error" lineEndContext="#stay"> | ||
468 | <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char="""/> | 468 | <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char="""/> | ||
469 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | 469 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> | ||
470 | </context> | 470 | </context> | ||
471 | 471 | | |||
472 | <context name="75:NotationDecl PublicID q" attribute="Value" lineEndContext="#stay"> | 472 | <context name="75:NotationDecl PublicID q" attribute="Value" lineEndContext="#stay"> | ||
473 | <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char="'"/> | 473 | <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char="'"/> | ||
474 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | 474 | <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> | ||
475 | </context> | 475 | </context> | ||
476 | 476 | | |||
477 | <context name="76:NotationDecl SystemIDOrEnd" attribute="Error" lineEndContext="#stay"> | 477 | <context name="76:NotationDecl SystemIDOrEnd" attribute="Error" lineEndContext="#stay"> | ||
478 | <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> | 478 | <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> | ||
479 | <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> | 479 | <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> | ||
480 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | 480 | <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> | ||
481 | <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> | 481 | <DetectSpaces attribute="Doctype Declaration" context="#stay"/> | ||
482 | </context> | 482 | </context> | ||
483 | 483 | | |||
484 | <context name="77:Comment inside IS" attribute="Comment" lineEndContext="#stay"> | 484 | <context name="77:Comment inside IS" attribute="Comment" lineEndContext="#stay"> | ||
485 | <RegExpr attribute="Error" context="23:Doctype Decl IS" String="--->"/> | 485 | <StringDetect attribute="Error" context="23:Doctype Decl IS" String="--->"/> | ||
486 | <RegExpr attribute="Comment" context="23:Doctype Decl IS" String="-->"/> | 486 | <StringDetect attribute="Comment" context="23:Doctype Decl IS" String="-->"/> | ||
487 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | 487 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | ||
488 | </context> | 488 | </context> | ||
489 | 489 | | |||
490 | <context name="78:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> | 490 | <context name="78:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> | ||
491 | <Detect2Chars attribute="Processing Instruction" context="23:Doctype Decl IS" char="?" char1=">"/> | 491 | <Detect2Chars attribute="Processing Instruction" context="23:Doctype Decl IS" char="?" char1=">"/> | ||
492 | </context> | 492 | </context> | ||
493 | 493 | | |||
494 | <context name="79:Outside" attribute="Normal Text" lineEndContext="#stay"> | 494 | <context name="79:Outside" attribute="Normal Text" lineEndContext="#stay"> | ||
495 | <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 495 | <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
496 | <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 496 | <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
497 | <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 497 | <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
498 | <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 498 | <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
499 | <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 499 | <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
500 | <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 500 | <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
501 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 501 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
502 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 502 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
503 | <RegExpr attribute="Entity" context="86:CDSect" String="<!\[CDATA\["/> | 503 | <StringDetect attribute="Entity" context="86:CDSect" String="<![CDATA["/> | ||
504 | <RegExpr attribute="Comment" context="87:Comment inside IS" String="<!--"/> | 504 | <StringDetect attribute="Comment" context="87:Comment inside IS" String="<!--"/> | ||
505 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> | 505 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> | ||
506 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 506 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
507 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 507 | <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
508 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 508 | <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
509 | <DetectChar attribute="Error" context="#stay" char="<"/> | 509 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
510 | <DetectChar attribute="Error" context="#stay" char="&"/> | 510 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
511 | <RegExpr attribute="Error" context="#stay" String="\]\]>"/> | 511 | <StringDetect attribute="Error" context="#stay" String="]]>"/> | ||
512 | </context> | 512 | </context> | ||
513 | 513 | | |||
514 | <context name="80:STag" attribute="Error" lineEndContext="#stay"> | 514 | <context name="80:STag" attribute="Error" lineEndContext="#stay"> | ||
515 | <Detect2Chars attribute="Normal Tag" context="79:Outside" char="/" char1=">"/> | 515 | <Detect2Chars attribute="Normal Tag" context="79:Outside" char="/" char1=">"/> | ||
516 | <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> | 516 | <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> | ||
517 | <RegExpr attribute="Attribute" context="81:STag Attribute" String="(xmlns:(\w|[_.-])*|xmlns|xml:(lang|base|space))"/> | 517 | <RegExpr attribute="Attribute" context="81:STag Attribute" String="(xmlns:(\w|[_.-])*|xmlns|xml:(lang|base|space))"/> | ||
518 | <RegExpr attribute="Error" context="81:STag Attribute" String="[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | 518 | <RegExpr attribute="Error" context="81:STag Attribute" String="[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
519 | <RegExpr attribute="Attribute" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | 519 | <RegExpr attribute="Attribute" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> | ||
520 | <RegExpr attribute="Error" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | 520 | <RegExpr attribute="Error" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> | ||
521 | <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> | 521 | <DetectSpaces attribute="Normal Tag" context="#stay"/> | ||
522 | </context> | 522 | </context> | ||
523 | 523 | | |||
524 | <context name="81:STag Attribute" attribute="Error" lineEndContext="#stay"> | 524 | <context name="81:STag Attribute" attribute="Error" lineEndContext="#stay"> | ||
525 | <DetectChar attribute="Attribute" context="82:STag Attribute Value" char="="/> | 525 | <DetectChar attribute="Attribute" context="82:STag Attribute Value" char="="/> | ||
526 | <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> | 526 | <DetectSpaces attribute="Normal Tag" context="#stay"/> | ||
527 | </context> | 527 | </context> | ||
528 | 528 | | |||
529 | <context name="82:STag Attribute Value" attribute="Error" lineEndContext="#stay"> | 529 | <context name="82:STag Attribute Value" attribute="Error" lineEndContext="#stay"> | ||
530 | <DetectChar attribute="Value" context="83:STag Value qq" char="""/> | 530 | <DetectChar attribute="Value" context="83:STag Value qq" char="""/> | ||
531 | <DetectChar attribute="Value" context="84:STag Value q" char="'"/> | 531 | <DetectChar attribute="Value" context="84:STag Value q" char="'"/> | ||
532 | <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> | 532 | <DetectSpaces attribute="Normal Tag" context="#stay"/> | ||
533 | </context> | 533 | </context> | ||
534 | 534 | | |||
535 | <context name="83:STag Value qq" attribute="Value" lineEndContext="#stay"> | 535 | <context name="83:STag Value qq" attribute="Value" lineEndContext="#stay"> | ||
536 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 536 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
537 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 537 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
538 | <DetectChar attribute="Error" context="#stay" char="&"/> | 538 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
539 | <DetectChar attribute="Error" context="#stay" char="<"/> | 539 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
540 | <RegExpr attribute="Error" context="80:STag" String=""(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> | 540 | <RegExpr attribute="Error" context="80:STag" String=""(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> | ||
541 | <RegExpr attribute="Value" context="80:STag" String=""(?=>|/>|\s|$)"/> | 541 | <RegExpr attribute="Value" context="80:STag" String=""(?=>|/>|\s|$)"/> | ||
542 | </context> | 542 | </context> | ||
543 | 543 | | |||
544 | <context name="84:STag Value q" attribute="Value" lineEndContext="#stay"> | 544 | <context name="84:STag Value q" attribute="Value" lineEndContext="#stay"> | ||
545 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | 545 | <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> | ||
546 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | 546 | <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> | ||
547 | <DetectChar attribute="Error" context="#stay" char="&"/> | 547 | <DetectChar attribute="Error" context="#stay" char="&"/> | ||
548 | <DetectChar attribute="Error" context="#stay" char="<"/> | 548 | <DetectChar attribute="Error" context="#stay" char="<"/> | ||
549 | <RegExpr attribute="Error" context="80:STag" String="'(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> | 549 | <RegExpr attribute="Error" context="80:STag" String="'(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> | ||
550 | <RegExpr attribute="Value" context="80:STag" String="'(?=>|/>|\s|$)"/> | 550 | <RegExpr attribute="Value" context="80:STag" String="'(?=>|/>|\s|$)"/> | ||
551 | </context> | 551 | </context> | ||
552 | 552 | | |||
553 | <context name="85:ETag" attribute="Error" lineEndContext="#stay"> | 553 | <context name="85:ETag" attribute="Error" lineEndContext="#stay"> | ||
554 | <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> | 554 | <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> | ||
555 | <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> | 555 | <DetectSpaces attribute="Normal Tag" context="#stay"/> | ||
556 | </context> | 556 | </context> | ||
557 | 557 | | |||
558 | <context name="86:CDSect" attribute="Normal Text" lineEndContext="#stay"> | 558 | <context name="86:CDSect" attribute="Normal Text" lineEndContext="#stay"> | ||
559 | <RegExpr attribute="Entity" context="79:Outside" String="\]\]>"/> | 559 | <StringDetect attribute="Entity" context="79:Outside" String="]]>"/> | ||
560 | </context> | 560 | </context> | ||
561 | 561 | | |||
562 | <context name="87:Comment inside IS" attribute="Comment" lineEndContext="#stay"> | 562 | <context name="87:Comment inside IS" attribute="Comment" lineEndContext="#stay"> | ||
563 | <RegExpr attribute="Error" context="79:Outside" String="--->"/> | 563 | <StringDetect attribute="Error" context="79:Outside" String="--->"/> | ||
564 | <RegExpr attribute="Comment" context="79:Outside" String="-->"/> | 564 | <StringDetect attribute="Comment" context="79:Outside" String="-->"/> | ||
565 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | 565 | <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> | ||
566 | </context> | 566 | </context> | ||
567 | 567 | | |||
568 | <context name="88:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> | 568 | <context name="88:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> | ||
569 | <Detect2Chars attribute="Processing Instruction" context="79:Outside" char="?" char1=">"/> | 569 | <Detect2Chars attribute="Processing Instruction" context="79:Outside" char="?" char1=">"/> | ||
570 | </context> | 570 | </context> | ||
571 | 571 | | |||
572 | </contexts> | 572 | </contexts> | ||
Show All 21 Lines |
I believe DetectSpaces does not exist in kateview="2.4". Please raise to kateversion="5.0"