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