/usr/share/bluefish/bflang/xml.bflang2 is in bluefish-data 2.2.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 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 | <?xml version="1.0"?>
<!--
		Bluefish HTML Editor
		xml.bflang2 $$Revision: 6874 $
 
		Copyright (C) 2008-2011 Olivier Sessink
	    This program is free software: you can redistribute it and/or modify
		it under the terms of the GNU General Public License as published by
		the Free Software Foundation, either version 3 of the License, or
		(at your option) any later version.
		This program is distributed in the hope that it will be useful,
		but WITHOUT ANY WARRANTY; without even the implied warranty of
		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
		GNU General Public License for more details.
		You should have received a copy of the GNU General Public License
		along with this program.  If not, see <http://www.gnu.org/licenses/>.		
-->
<bflang name="XML" version="2.0" table="60" contexts="8" matches="17">
<header>
	<mime type="text/xml"/>
	<mime type="application/xml"/>
	<option name="show_in_menu" default="1"/>
	<highlight name="assignment" style="brackets" />
	<highlight name="attribute" style="attribute" />
	<highlight name="comment" style="comment" />
	<highlight name="entity" style="value" />
	<highlight name="string" style="string" />
	<highlight name="tag" style="tag" />
	<highlight name="xml-declaration" style="preprocessor" />
</header>
<properties>
	<comment id="cm.htmlcomment" type="block" start="<!--" end="-->" />
	<default_spellcheck enabled="1" spell_decode_entities="1" />
</properties>
<definition>
<context symbols="><&; 	

-" commentid_block="cm.htmlcomment" commentid_line="none">
	<element id="e.xml.open" pattern="<?xml" highlight="xml-declaration" starts_block="1">
		<context symbols=">&;"' 	

=">
			<element pattern="[a-zA-Z0-9:-]+" is_regex="1" highlight="xml-declaration" />
			<element pattern="?>" ends_context="1" ends_block="1" blockstartelement="e.xml.open" highlight="xml-declaration" />
			<element id="e.xml.doublequote" pattern=""" highlight="string">
				<context symbols="&;"" highlight="string" >
					<element id="e.xml.entity" pattern="&[a-z0-9#]+;" is_regex="1" highlight="entity" />
					<element pattern=""" highlight="string" ends_context="1"/>
				</context>
			</element>
			<element id="e.xml.singlequote" pattern="'" highlight="string">
				<context symbols="&;\'" highlight="string" >
					<element idref="e.xml.entity"/>
					<element pattern="'" highlight="string" ends_context="1"/>
				</context>
			</element>
		</context>
	</element>
	<element id="e.xml.lcomment" pattern="<!--" highlight="comment" starts_block="1">
		<context symbols="-> 	

" highlight="comment">
			<element pattern="-->" ends_block="1" blockstartelement="e.xml.lcomment" highlight="comment" mayfold="1" ends_context="1" />
		</context>
	</element>
	<element id="e.xml.tag.open" pattern="<[_a-zA-Z0-9:-]+" is_regex="1" highlight="tag" starts_block="1" tagclose_from_blockstack="1">
		<context symbols=">&;"' 	

=">
			<element pattern="[_a-zA-Z0-9:-]+" is_regex="1" highlight="attribute" />
			<element pattern="=" highlight="assignment" />
			<element idref="e.xml.doublequote"/>
			<element idref="e.xml.singlequote"/>
			<element pattern="/>" highlight="tag" ends_context="1" ends_block="1" blockstartelement="e.xml.tag.open" />
			<element pattern=">" highlight="tag" blockstartelement="e.xml.tag.open" stretch_blockstart="1">
				<context symbols="><&; 	

">
					<element pattern="</[_a-zA-Z0-9:-]+>" is_regex="1" highlight="tag" ends_context="2"  ends_block="1" blockstartelement="e.xml.tag.open" />
					<element idref="e.xml.tag.open"/>
					<element idref="e.xml.lcomment"/>
					<element idref="e.xml.entity"/>
				</context>
			</element>
		</context>
	</element>
	<element idref="e.xml.entity" />
</context>
</definition>
</bflang>
 |