RE: wchar_t and XMLCh

2003-03-04 Thread qchen
David, Thanks for your suggestion. That will probably work in every case except this one. The reason being we are building a wrapper library over Xerces and our interface exposes only std::wstring. We don't expose internal xerces types. In particular on Solaris, we want to link against STLport

wchar_t and XMLCh

2003-03-04 Thread qchen
I know this question has probably been discussed before, but I just want to see if there are any new solutions.   Basically I need to convert the XMLCh* to a std::wstring and vice versa. In Xerces, XMLCh is typdef-ed to unsigned short (2 bytes). Under win32, there is no need for conversion

RE: Deprecated DOM interfaces

2003-01-16 Thread qchen
Dave, Do you work on the XercesDocumentWrapper class? We found an issue with XercesDocumentWrapper::mapNode(const DOMElementType* theXercesNode) function, there should be a cast otherwise it will cause infinite recursion. Thanks, Qi Chen XalanElement* XercesDocumentWrapper::mapNode(const DO

RE: XPath Support in Xalan1.4 using Xerces 2.1 DOMNode

2002-11-20 Thread qchen
ask Xalan-related questions on the Xalan-C user list, not the Xerces list. The is no current support for the new Xerces DOM. That support will be available in the next release. Dave qchen <[EMAIL PROTECTED] To: "'[EM

XPath Support in Xalan1.4 using Xerces 2.1 DOMNode

2002-11-20 Thread qchen
Hello,   Does the XPath implementation in Xalan 1.4 meant to work with xerces2.1 DOM document? How do I convert a DOMNode to XalanNode etc? Thanks in advance for any suggestions.   Regards   Qi Chen    

BUG: findNamePoint()

2001-12-06 Thread qchen
Has this bug been fixed in 1.5.1 or 1.5.2? The code seem to be still returning -1 rather than -1-i. Thanks, Qi Chen http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2174 *** shadow/2174 Thu Jun 14 01:22:18 2001 --- shadow/2174.tmp.18962 Thu Jun 14 05:53:59 2001 *** *** 68,70 --