<Processing Instruction><?xml</Processing Instruction><Other Text> version="1.0" encoding="UTF-8"</Other Text><Processing Instruction>?></Processing Instruction><br/>
<Doctype><!DOCTYPE </Doctype><Other Text>language SYSTEM "language.dtd"</Other Text><br/>
<Doctype>[</Doctype><br/>
<Other Text>    </Other Text><Comment><!-- comment line 1</Comment><br/>
<Comment>         comment line 2 --></Comment><br/>
<Other Text>    </Other Text><Doctype><!ENTITY</Doctype><Other Text> name    </Other Text><Value>"(?![0-9])[\w_:][\w.:_-]*"</Value><Doctype>></Doctype><br/>
<Other Text>    </Other Text><Doctype><!ENTITY</Doctype><Other Text> entref  </Other Text><Value>"</Value><EntityRef>&amp;</EntityRef><Value>(#[0-9]+|#[xX][0-9A-Fa-f]+|</Value><EntityRef>&name;</EntityRef><Value>);"</Value><Doctype>></Doctype><br/>
<Doctype>]></Doctype><br/>
<Normal Text></Normal Text><br/>
<Comment><!-- we need this tags or this is no valid file --></Comment><br/>
<Normal Text></Normal Text><br/>
<Element><element</Element><Attribute> attr1=</Attribute><Value>"a1"</Value><Attribute> attr2=</Attribute><Value>"2.03"</Value><Attribute> attr3=</Attribute><Value>"</Value><EntityRef>&entity;</EntityRef><Value>"</Value><Element>></Element><br/>
<Other Text>    </Other Text><Element><sub-element/></Element><br/>
<Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>This is a pseudo XML file to test Kate's XML syntax highlighting.</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Doctype:</Normal Text><br/>
<Normal Text>	</Normal Text><Doctype><!DOCTYPE </Doctype><Other Text>HTML PUBLIC "-//SOME_DOCTYPE 0.01//EN" SYSTEM "foobar.dtd"</Other Text><Doctype>></Doctype><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Processing instruction:</Normal Text><br/>
<Normal Text>	</Normal Text><Processing Instruction><?php</Processing Instruction><Other Text> processing instruction </Other Text><Processing Instruction>?></Processing Instruction><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Comments:</Normal Text><br/>
<Normal Text>	</Normal Text><Comment><!-- a comment --></Comment><br/>
<Normal Text>	</Normal Text><Comment><!-- another comment,</Comment><br/>
<Comment>	using more than one line --></Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Comment inside element:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute> attr=</Attribute><Value>"foobar"</Value><Element>></Element><Other Text>content</Other Text><Comment><!-- comment --></Comment><Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Markup inside comment:</Normal Text><br/>
<Normal Text>	</Normal Text><Comment><!--</Comment><br/>
<Comment>	This is a comment!</Comment><br/>
<Comment>	<element inside_comment /></Comment><br/>
<Comment>	--></Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Empty element:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><empty/></Element><br/>
<Normal Text>	</Normal Text><Element><empty</Element><Other Text>  </Other Text><Element>/></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Simple element plus content:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><element></Element><Other Text>some content</Other Text><Element></element></Element><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute> attr=</Attribute><Value>"foobar"</Value><Element>></Element><Other Text>some</Other Text><br/>
<Other Text>		content</Other Text><Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Namespace for elements and attributes:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><ns:element></Element><Other Text>content</Other Text><Element></ns:element></Element><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute> ns:attr=</Attribute><Value>"content content"</Value><Element>></Element><Other Text>content</Other Text><Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Elements containing allowed characters:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><element-dash</Element><Attribute> foo=</Attribute><Value>"test"</Value><Element>/></Element><br/>
<Normal Text>	</Normal Text><Element><element.dot</Element><Attribute> foo=</Attribute><Value>"test"</Value><Element>/></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Elements containing allowed start characters:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><:element</Element><Attribute> foo=</Attribute><Value>"test"</Value><Element>/></Element><br/>
<Normal Text>	</Normal Text><Element><_element</Element><Attribute> foo=</Attribute><Value>"test"</Value><Element>/></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Single quotes (the same as double quotes):</Normal Text><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute> attr=</Attribute><Value>'content </Value><EntityRef>&nbsp;</EntityRef><Value> content'</Value><Element>></Element><Other Text>content</Other Text><Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Allowed Whitespace:</Normal Text><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute>     attr</Attribute><Other Text>   </Other Text><Attribute>=</Attribute><Other Text>   </Other Text><Value>"test"</Value><Other Text>  </Other Text><Element>></Element><br/>
<Other Text>		content</Other Text><Element></element></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Entities:</Normal Text><br/>
<Normal Text>	</Normal Text><EntityRef>&nbsp;</EntityRef><br/>
<Normal Text>	</Normal Text><EntityRef>&#229;</EntityRef><br/>
<Normal Text>	</Normal Text><EntityRef>&#xE5;</EntityRef><br/>
<Normal Text>	</Normal Text><EntityRef>&#Xe5;</EntityRef><br/>
<Normal Text>	</Normal Text><EntityRef>&#1048;</EntityRef><br/>
<Normal Text>	</Normal Text><EntityRef>&#x6C34;</EntityRef><br/>
<Normal Text>	</Normal Text><Element><element</Element><Attribute> attr=</Attribute><Value>"foo </Value><EntityRef>&nbsp;</EntityRef><Value> </Value><EntityRef>&#229;</EntityRef><Value> </Value><EntityRef>&amp;</EntityRef><Value> bar"</Value><Element>/></Element><br/>
<Normal Text></Normal Text><br/>
<Normal Text>Illegal XML, should not be highlighted:</Normal Text><br/>
<Normal Text>	</Normal Text><Error><</Error><Normal Text>0foobar> -- no digit as first character</Normal Text><br/>
<Normal Text>	</Normal Text><Error><</Error><Normal Text>-foo> -- no dash as first character</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Element><wrong</Element><Error><very</Error><Attribute> wrong</Attribute><Error>>></Error><br/>
