sbin/virtualenv/res/patch/pyxml.patch
author veltr
Fri, 11 Oct 2013 11:57:20 +0200
changeset 105 fe4b70b9991d
parent 0 ecdfc63274bf
permissions -rw-r--r--
Backoffice timeline as default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
diff -ur xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2003-03-11 15:01:34.000000000 +0100
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
+++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2009-05-25 16:32:26.000000000 +0200
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
@@ -24,8 +24,8 @@
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
         self._rel = rel
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
         nt = ParsedNodeTest.ParsedNodeTest('node', '')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
         ppl = ParsedPredicateList.ParsedPredicateList([])
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
-        self._step = ParsedStep.ParsedStep(as, nt, ppl)
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
+        asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
+        self._step = ParsedStep.ParsedStep(asp, nt, ppl)
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
         return
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
 
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
     def evaluate(self, context):
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
diff -ur a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2003-03-11 15:01:34.000000000 +0100
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
+++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2009-05-25 16:27:55.000000000 +0200
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
@@ -28,8 +28,8 @@
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
         self._right = right
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
         nt = ParsedNodeTest.ParsedNodeTest('node','')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
         ppl = ParsedPredicateList.ParsedPredicateList([])
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
-        self._middle = ParsedStep.ParsedStep(as, nt, ppl)
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
+        asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
+        self._middle = ParsedStep.ParsedStep(asp, nt, ppl)
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
 
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
     def evaluate(self, context):
ecdfc63274bf first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
         res = []