commit | 608ad0791b3b35072c8021ea4f66cf9d700394b9 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Thu Jun 14 08:32:28 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Thu Jun 14 08:32:28 2001 +0000 |
tree | 40937902a187786cb7696ef09d9e83033a2c1f2e | |
parent | 239d052b3da2f7e774f563fa0bc9869af92f9d91 [diff] [blame] |
- xpath.c: Thomas Broyer suggested a better patch for the / arg Daniel
diff --git a/xpath.c b/xpath.c index cabb3af..90ebe1b 100644 --- a/xpath.c +++ b/xpath.c
@@ -7085,8 +7085,10 @@ xmlXPathCompRelativeLocationPath(ctxt); } else if (CUR == '/') { NEXT; - /* SKIP_BLANKS; */ - if ((CUR != 0) && (CUR != ')') && (CUR != ',')) + SKIP_BLANKS; + if ((CUR != 0 ) && + ((IS_LETTER(CUR)) || (CUR == '_') || (CUR == '.') || + (CUR == '@') || (CUR == '*'))) xmlXPathCompRelativeLocationPath(ctxt); } }