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