fix compilation
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 10 Mar 2010 16:55:24 +0000 (19:55 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 10 Mar 2010 16:55:24 +0000 (19:55 +0300)
xml/impl/src/com/intellij/codeInsight/template/XmlZenCodingTemplate.java

index 82d12a2c48ebf46e1cf0b952594f7d8eb897dc48..8da184ae3d467ff1026feca74c713d93493b6076 100644 (file)
@@ -29,7 +29,6 @@ import com.intellij.psi.xml.XmlToken;
 import com.intellij.psi.xml.XmlTokenType;
 import com.intellij.util.containers.HashMap;
 import com.intellij.util.containers.HashSet;
 import com.intellij.psi.xml.XmlTokenType;
 import com.intellij.util.containers.HashMap;
 import com.intellij.util.containers.HashSet;
-import com.sun.org.apache.xml.internal.utils.XML11Char;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
@@ -209,7 +208,7 @@ public class XmlZenCodingTemplate implements CustomLiveTemplate {
             return null;
           }
           String prefix = getPrefix(key);
             return null;
           }
           String prefix = getPrefix(key);
-          if (!callback.isLiveTemplateApplicable(prefix) && !XML11Char.isXML11ValidQName(prefix)) {
+          if (!callback.isLiveTemplateApplicable(prefix) && prefix.indexOf('<') >= 0 /*&& !XML11Char.isXML11ValidQName(prefix)*/) {
             return null;
           }
           MyTemplateToken token = parseSelectors(key);
             return null;
           }
           MyTemplateToken token = parseSelectors(key);