Joined: 23 Oct 2006
Location: Tokyo, Japan
|Posted: Tue May 01, 2007 5:48 am Post subject: Another little patch for tinyxpath
|I found this over at the tinyxpath sourceforge forums after pulling my hair out for about 3 hours.
TinyXPath doesn't support namespace elements. Attributes like 'xpath:href' just can't be found with TinyXPath.
Over on the forum someone posted this 1-line patch to the C++:
--- /mnt/sda3/home/juergen/projekte/tinyxpath/src/libtinyxml/xpath_stream.h 2006-08-08 15:17:26.000000000 +0200
+++ xpath_stream.h 2006-04-17 17:23:38.000000000 +0200
@@ -169,7 +169,6 @@
case lex_minus :
case lex_under :
case lex_extend :
- case lex_colon :
Add the "case lex_colon:" line in in xpath_stream.d and everything seems to be ok.