[gtksourceview] Revert "Add xslt2 elements to xslt.lang"



commit 7c67bfbb7ba4d13a95b299a16c4719ca1794a9e4
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Mar 6 11:37:20 2015 +0100

    Revert "Add xslt2 elements to xslt.lang"
    
    This reverts commit 828716788c2924ad416a47ee1c923962cba30627.
    
    It doesn't work with tags <import-schema> and <for-each-group>. It seems
    the reason is, that XSLT 1.0 version has tags <import> and <for-each>,
    which are parsed first. If XSLT 2.0 is parsed first, which would solve
    the issue for the first two tags, but would fail on <namespace-alias>
    tag in XSLT 1.0, because XSLT 2.0 has a tag <namespace>.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743202

 data/language-specs/xslt.lang |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/data/language-specs/xslt.lang b/data/language-specs/xslt.lang
index f932b7a..8d9724f 100644
--- a/data/language-specs/xslt.lang
+++ b/data/language-specs/xslt.lang
@@ -88,26 +88,9 @@
       <keyword>with-param</keyword>
     </context>
 
-    <context id="xslt2-elements" once-only="true" style-ref="element">
-      <keyword>analyze-string</keyword>
-      <keyword>character-map</keyword>
-      <keyword>for-each-group</keyword>
-      <keyword>function</keyword>
-      <keyword>import-schema</keyword>
-      <keyword>matching-substring</keyword>
-      <keyword>namespace</keyword>
-      <keyword>next-match</keyword>
-      <keyword>non-matching-substring</keyword>
-      <keyword>output-character</keyword>
-      <keyword>perform-sort</keyword>
-      <keyword>result-document</keyword>
-      <keyword>sequence</keyword>
-    </context>
-
     <context id="xslt-tags">
       <include>
         <context ref="elements"/>
-        <context ref="xslt2-elements"/>
         <context ref="xml:element-name" original="true"/>
       </include>
     </context>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]