Hello there and thank you for this great library.
I am using the SAX parser and trying to exploit the data values passed through the SAX handlers by mean of XMLString parameters types.
I compiled Poco XML DLL using Unicode and by also adding #define XML_UNICODE_WCHAR_T.
The DLL is consumed in a VS project that is defined as Unicode and also uses #define XML_UNICODE_WCHAR_T.
My problem is that wheever I have to explot an XMLString value then I encounter very bizarre things, for instance if I have a tag namded documentModel, then
by rendering the read value from a SAX handler using the following code I get that exact value but just when trying to comparing it to an operand of the same val, it fails :
void someHandler(const XMLString& localName..){
CString str;
str.Format(_T("the name of the tag is %S"),localName.c_str() );
AfxMessageBox(str);
/*the above instruction displays :
the name of the tag is documentModel
/*
//But :
if(localName==_T("documentModel"){
AfxMessageBox(_T("hello I am here !!");
//This never triggers !!
}
}
Can you help ??
Thank you in advance.





