PageRenderTime 7ms CodeModel.GetById 3ms app.highlight 20ms RepoModel.GetById 0ms app.codeStats 1ms

/part/syntax/data/xmldebug.xml

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