[xml] Little bug in UnaryExpr




Hi,
libxml rejects expressions such as '- - 17' whereas the XPath Rec says they
are valid expressions:
[27]  UnaryExpr     ::= UnionExpr
                        | '-' UnaryExpr

The attached patch should fix the problem (2 minor changes in
xmlXPathEvalUnaryExpr, not tested).

Tom.

Attachment: xpath.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]