annotate runtime/autoload/xml/xsl.vim @ 5899:60cdaa05a6ad v7.4.292

updated for version 7.4.292 Problem: Searching for "a" does not match accented "a" with new regexp engine, does match with old engine. (David B?rgin) "ca" does not match "ca" with accented "a" with either engine. Solution: Change the old engine, check for following composing character also for single-byte patterns.
author Bram Moolenaar <bram@vim.org>
date Tue, 13 May 2014 18:04:00 +0200
parents 4e90dc161511
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
1 " Author: Mikolaj Machowski, Thomas Bartel
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
2 " Last change: 2007 May 8
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
3 let g:xmldata_xsl = {
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
4 \ 'apply-imports' : [[], {}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
5 \ 'apply-templates' : [['sort', 'with-param'], {'select' : [], 'mode' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
6 \ 'attribute' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'namespace' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
7 \ 'attribute-set' : [['attribute'], {'name' : [], 'use-attribute-sets' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
8 \ 'call-template' : [['with-param'], {'name' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
9 \ 'choose' : [['when', 'otherwise'], {}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
10 \ 'comment' : [[], {}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
11 \ 'copy' : [[], {'use-attribute-sets' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
12 \ 'copy-of' : [[], {'select' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
13 \ 'decimal-format' : [[], {'name' : [], 'decimal-separator' : [], 'grouping-separator' : [], 'infinity' : [], 'minus-sign' : [], 'NaN' : [], 'percent' : [], 'per-mille' : [], 'zero-digit' : [], 'digit' : [], 'pattern-separator' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
14 \ 'element' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'namespace' : [], 'use-attribute-sets' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
15 \ 'fallback' : [[], {}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
16 \ 'for-each' : [['sort'], {'select' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
17 \ 'if' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'test' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
18 \ 'import' : [[], {'href' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
19 \ 'include' : [[], {'href' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
20 \ 'key' : [[], {'name' : [], 'match' : [], 'use' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
21 \ 'message' : [[], {'terminate' : ['yes', 'no']}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
22 \ 'namespace-alias' : [[], {'stylesheet-prefix' : ['#default'], 'result-prefix' : ['#default']}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
23 \ 'number' : [[], {'level' : ['single', 'multiple', 'any'], 'count' : [], 'from' : [], 'value' : [], 'format' : [], 'lang' : [], 'letter-value' : ['alphabetic', 'traditional'], 'grouping-separator' : [], 'grouping-size' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
24 \ 'otherwise' : [[], {}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
25 \ 'output' : [[], {'method' : ['xml', 'html', 'text'], 'version' : [], 'encoding' : [], 'omit-xml-declaration' : ['yes', 'no'], 'standalone' : ['yes', 'no'], 'doctype-public' : [], 'doctype-system' : [], 'cdata-section-elements' : [], 'indent' : ['yes', 'no'], 'media-type' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
26 \ 'param' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
27 \ 'preserve-space' : [[], {'elements' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
28 \ 'processing-instructionruction' : [[], {'name' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
29 \ 'sort' : [[], {'select' : [], 'lang' : [], 'data-type' : ['text', 'number'], 'order' : ['ascending', 'descending'], 'case-order' : ['upper-first', 'lower-first']}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
30 \ 'strip-space' : [[], {'elements' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
31 \ 'stylesheet' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias', 'output', 'param', 'preserve-space', 'strip-space', 'template'], {'id' : [], 'extension-element-prefixes' : [], 'version' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
32 \ 'template' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'match' : [], 'name' : [], 'priority' : [], 'mode' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
33 \ 'text' : [[], {'disable-output-escaping' : ['yes', 'no']}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
34 \ 'transform' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias', 'output', 'param', 'preserve-space', 'strip-space', 'template'], {'id' : [], 'extension-element-prefixes' : [], 'exclude-result-prefixes' : [], 'version' : []}],
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
35 \ 'value-of' : [[], {'select' : [], 'disable-output-escaping' : ['yes', 'no']}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
36 \ 'variable' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}],
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents:
diff changeset
37 \ 'when' : [[], {'test' : []}],
1190
4e90dc161511 updated for version 7.1b
vimboss
parents: 827
diff changeset
38 \ 'with-param' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}]}