view release on metacpan or search on metacpan
lib/Syntax/Kamelon/XML/djangotemplate.xml view on Meta::CPAN
<!-- <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> -->
<DetectChar attribute="Template String" char=""" context="#pop"/>
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<&name;" />
<RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="true" endRegion="pre" />
<RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="true" endRegion="div" />
lib/Syntax/Kamelon/XML/djangotemplate.xml view on Meta::CPAN
<IncludeRules context="##Alerts" />
<IncludeRules context="FindTemplate" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/html-php.xml view on Meta::CPAN
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<IncludeRules context="FindHTML" />
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" insensitive="true" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="true" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="true" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="true" beginRegion="dl" />
lib/Syntax/Kamelon/XML/html-php.xml view on Meta::CPAN
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<IncludeRules context="FindPHP" />
lib/Syntax/Kamelon/XML/html.xml view on Meta::CPAN
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindHTML" />
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" insensitive="true" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="true" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="true" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="true" beginRegion="dl" />
lib/Syntax/Kamelon/XML/html.xml view on Meta::CPAN
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/mako.xml view on Meta::CPAN
<context name="NoMakoJS" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="MakoKeyword" context="#pop" String="</%text>" endRegion="nomako" />
<IncludeRules context="Normal##JavaScript" includeAttrib="true"/>
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="true" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="true" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="true" beginRegion="dl" />
lib/Syntax/Kamelon/XML/mako.xml view on Meta::CPAN
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/php.xml view on Meta::CPAN
<item>xmlrpc_parse_method_descriptions</item>
<item>xmlrpc_server_add_introspection_data</item>
<item>xmlrpc_server_call_method</item>
<item>xmlrpc_server_create</item>
<item>xmlrpc_server_destroy</item>
<item>xmlrpc_server_register_introspection_callback</item>
<item>xmlrpc_server_register_method</item>
<item>xmlrpc_set_type</item>
<item>xmltree</item>
<item>xmlwriter_end_attribute</item>
<item>xmlwriter_end_cdata</item>
<item>xmlwriter_end_comment</item>
<item>xmlwriter_end_document</item>
<item>xmlwriter_end_dtd</item>
<item>xmlwriter_end_dtd_attlist</item>
<item>xmlwriter_end_dtd_element</item>
<item>xmlwriter_end_dtd_entity</item>
<item>xmlwriter_end_element</item>
<item>xmlwriter_end_pi</item>
<item>xmlwriter_flush</item>
<item>xmlwriter_full_end_element</item>
<item>xmlwriter_open_memory</item>
<item>xmlwriter_open_uri</item>
<item>xmlwriter_output_memory</item>
<item>xmlwriter_set_indent</item>
<item>xmlwriter_set_indent_string</item>
<item>xmlwriter_start_attribute</item>
<item>xmlwriter_start_attribute_ns</item>
<item>xmlwriter_start_cdata</item>
<item>xmlwriter_start_comment</item>
<item>xmlwriter_start_document</item>
<item>xmlwriter_start_dtd</item>
<item>xmlwriter_start_dtd_attlist</item>
<item>xmlwriter_start_dtd_element</item>
<item>xmlwriter_start_dtd_entity</item>
<item>xmlwriter_start_element</item>
<item>xmlwriter_start_element_ns</item>
<item>xmlwriter_start_pi</item>
<item>xmlwriter_text</item>
<item>xmlwriter_write_attribute</item>
<item>xmlwriter_write_attribute_ns</item>
<item>xmlwriter_write_cdata</item>
<item>xmlwriter_write_comment</item>
<item>xmlwriter_write_dtd</item>
<item>xmlwriter_write_dtd_attlist</item>
<item>xmlwriter_write_dtd_element</item>
<item>xmlwriter_write_dtd_entity</item>
<item>xmlwriter_write_element</item>
<item>xmlwriter_write_element_ns</item>
<item>xmlwriter_write_pi</item>
<item>xmlwriter_write_raw</item>
<item>xpath_eval</item>
lib/Syntax/Kamelon/XML/rhtml.xml view on Meta::CPAN
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<RegExpr attribute="Keyword" context="rubysource" String="<%=?" />
<StringDetect attribute="Keyword" context="rubysourceline" String="%" />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<&name;" />
<RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="true" endRegion="pre" />
<RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="true" endRegion="div" />
lib/Syntax/Kamelon/XML/rhtml.xml view on Meta::CPAN
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/xml.xml view on Meta::CPAN
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindXML" />
</context>
<context name="FindXML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="Element" String="<&name;" beginRegion="element" />
<IncludeRules context="FindEntityRefs" />
<DetectIdentifier />
</context>
<context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&<" />
lib/Syntax/Kamelon/XML/xml.xml view on Meta::CPAN
<DetectSpaces />
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<DetectSpaces />
<DetectIdentifier />
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/xslt.xml view on Meta::CPAN
<item>insert-before</item>
<item>document-uri</item>
<item>adjust-time-to-timezone</item>
</list>
<contexts>
<context name="normalText" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment"/>
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<DetectChar attribute="Tag" context="tagname" char="<" />
<RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<DetectIdentifier />
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="Entity Reference" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
lib/Syntax/Kamelon/XML/xul.xml view on Meta::CPAN
<item>zIndex</item>
</list>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindXML" />
</context>
<context name="FindXML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="Element" String="<&name;" beginRegion="element" />
<IncludeRules context="FindEntityRefs" />
<DetectIdentifier />
</context>
<context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&<" />
lib/Syntax/Kamelon/XML/xul.xml view on Meta::CPAN
<DetectChar attribute="Value" context="#pop#pop#pop" char=""" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="Value SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop#pop#pop" char="'" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
<DetectSpaces/>
<StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1"/>
<StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/>
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Function" context="#stay" String="functions" />
<keyword attribute="Objects" context="#stay" String="objects" />
<keyword attribute="Math" context="#stay" String="math" />
<keyword attribute="Events" context="#stay" String="events" />
<keyword attribute="Data Type" context="#stay" String="methods" />
t/Highlighting/XML/xml.xml view on Meta::CPAN
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindXML" />
</context>
<context name="FindXML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="Element" String="<&name;" beginRegion="element" />
<IncludeRules context="FindEntityRefs" />
<DetectIdentifier />
</context>
<context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&<" />
t/Highlighting/XML/xml.xml view on Meta::CPAN
<DetectSpaces />
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<DetectSpaces />
<DetectIdentifier />
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
t/XMLData/xml.xml view on Meta::CPAN
<highlighting>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="FindXML" />
</context>
<context name="FindXML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="Element" String="<&name;" beginRegion="element" />
<IncludeRules context="FindEntityRefs" />
<DetectIdentifier />
</context>
<context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&<" />
t/XMLData/xml.xml view on Meta::CPAN
<DetectSpaces />
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context name="CDATA" attribute="Other Text" lineEndContext="#stay">
<DetectSpaces />
<DetectIdentifier />
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Other Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Other Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />