Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/shd_xml.d 2012-05-14 23:00:08.153996173 +0100
- +++ b/shd_xml.d 2012-05-14 23:00:26.477995528 +0100
- @@ -1016,6 +1016,12 @@
- }
- res[j] = compareXPathPredicate( elem1, comparator, elem2, getAttribute(elem1), caseSen );
- }
- + else if (elem1.front == '.' && elem1.length == 1) {
- + if( compareXPathPredicate( elem1, comparator, elem2, this.getCData, caseSen )) {
- + res[j] = true;
- + }
- + debug(xpath)if(!res[j]) logline("did not match this node\n");
- + }
- else if (true) {
- // assume elem1 is a tag
- //if (!comparator.length || !elem2.length) throw new XPathError("Is this really an Error?");
Advertisement
Add Comment
Please, Sign In to add comment