Hi,i use tinyxpath on redhat FC4. my code:
//a reference-count ptr
XPathProcessorPtr pXpc(new xpath_processor(m_pConfDoc->RootElement(),"/schema/body/DEVCONFIG/CPUNUM"));
cout<<*this<<"[ERROR]can not locate /schema/body/DEVCONFIG"<<endl;
#9 0x006e0440 in __kernel_sigreturn ()
#10 0x00766926 in free () from /lib/libc.so.6
#11 0x00b4a0a9 in operator delete () from /usr/lib/libstdc++.so.6
#12 0x00b4a0f5 in operator delete () from /usr/lib/libstdc++.so.6
#13 0x080940f9 in TiXmlString::quit (this=0xb7f49f7e) at tiny_xpath/tinystr.h:261
#14 0x0809410f in ~TiXmlString (this=0xb7f49f7e) at tiny_xpath/tinystr.h:108
#15 0x08094c00 in ~expression_result (this=0xb7f49f7e) at tiny_xpath/xpath_expression.h:40
#16 0x08094c26 in ~xpath_processor (this=0xb7f49f41) at tiny_xpath/xpath_processor.h:55
#==========My program ================
#17 0x0808db4c in CNRLan103::InitClass (this=0x8bf8c68) at nrlan103.cpp:203
#18 0x080562c0 in CDevice::InitDevices (this=0xb7f4a3eb, ppNode=0x8bb2380, threadid=-1208702032, pCom=0xb7f4a364)
#19 0x08056786 in DeviceCommunicateMainThread (lp=0x8bb2380) at Device.cpp:111
#20 0x0094bb80 in start_thread () from /lib/libpthread.so.0
#21 0x007cddee in clone () from /lib/libc.so.6
the xml doc's encoding is GBK.
any help? thanks in advance
As you can see from other forum topics, this project is not supported anymore. I would suggest you to switch to xerces + xalan, which are very good and supported.
Why don't you try to help fixing problems instead?
This is not a 100-members projects, it is not supported by any vendor. Hence the slow pace of reaction...
I don't believe that TinyXML supports the GBK encoding.
This may be part of the problem.
I get it working on Windows.