FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Another little patch for tinyxpath

 
Post new topic   Reply to topic     Forum Index -> TinyXPath
View previous topic :: View next topic  
Author Message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Tue May 01, 2007 5:48 am    Post subject: Another little patch for tinyxpath Reply with quote

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++:
Code:

--- /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 :
u_size++;
b_pop ();
break;
 


Add the "case lex_colon:" line in in xpath_stream.d and everything seems to be ok.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> TinyXPath All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group