Article View: cn.bbs.comp.xml
Article #114xerces-C++��XmlCh��˫�ֽڵģ�����unixƽ̨��wchar_t��4�ֽڵ�
From: daishu59
Date: Thu, 25 Nov 2010 11:06
Date: Thu, 25 Nov 2010 11:06
14 lines
1377 bytes
1377 bytes
����solarisƽ̨��ʹ��xerces-C++�����֣�xerces�Զ����XmlCh��˫�ֽ�short,��ƽ̨�ϵ�wchar_t��4���ֽڵ�,����ֱ���á������char�Ļ�
XMLPlatformUtils::Initialize();
XMLCh nameStr[100]="abc";
aNode =doc->createElement(nameStr);
������ʾ����:
> sunCC -I/u1/gonl02/bin/xerces-c-3.1.1-sparc-solaris-cc-5.10/include -lutil xml.C
"xml.C", line 12: Error: Cannot use const char[4] to initialize unsigned short[100]
�Ҹ����ת����?
--
[m[31m�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 60.247.44.*][m
Technical Details
Message-ID:
<536WHO$Fuc@newsmth.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.newsmth.net!NEWSMTHShow Full Headers
Complete Article Headers
X-Google-Thread: 115571,c0eeea67ec5fe245,start X-Google-NewGroupId: yes X-Google-Attributes: gidf7ebf7e2af,domainid0,public,usenet X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.newsmth.net!NEWSMTH From: daishu59@newsmth.net-SPAM.no (daishu59) Newsgroups: cn.bbs.comp.xml Subject: xerces-C++��XmlCh��˫�ֽڵģ�����unixƽ̨��wchar_t��4�ֽڵ� Date: 25 Nov 2010 11:06:49 GMT Organization: ˮľ���� Message-ID: <536WHO$Fuc@newsmth.net> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: XML/i/M.1290683208.g0