injection pattern performance

This commit is contained in:
Gregory Shrago
2010-07-21 02:36:06 +04:00
parent c42e10837e
commit 898ac2f463
@@ -16,7 +16,7 @@
</injection>
<injection language="JavaScript" injector-id="xml">
<display-name>*/@on.*</display-name>
<place><![CDATA[xmlAttribute().withLocalName(string().matches("on.*")).withParent(xmlTag().withNamespace(string().equalTo("http://www.w3.org/1999/xhtml")))]]></place>
<place><![CDATA[xmlAttribute().withLocalName(string().startsWith("on")).withParent(xmlTag().withNamespace(string().equalTo("http://www.w3.org/1999/xhtml")))]]></place>
</injection>
<injection language="CSS" injector-id="xml">
<display-name>*/@style</display-name>