15 lines
802 B
Plaintext
15 lines
802 B
Plaintext
$OpenBSD: patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath_py,v 1.1 2008/12/16 04:55:09 fgsch Exp $
|
|
--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.orig Tue Dec 16 04:50:59 2008
|
|
+++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py Tue Dec 16 04:51:05 2008
|
|
@@ -28,8 +28,8 @@ class ParsedAbbreviatedRelativeLocationPath:
|
|
self._right = right
|
|
nt = ParsedNodeTest.ParsedNodeTest('node','')
|
|
ppl = ParsedPredicateList.ParsedPredicateList([])
|
|
- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
|
|
- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
|
|
+ pas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
|
|
+ self._middle = ParsedStep.ParsedStep(pas, nt, ppl)
|
|
|
|
def evaluate(self, context):
|
|
res = []
|