Message-ID: <536WHO$Fuc@newsmth.net>
Subject: xerces-C++��XmlCh��双�纸诘模�����unix平台��wchar_t��4�纸诘�
Date: Thu, 25 Nov 2010 11:06:49 +0000
From: daishu59@newsmth.net-SPAM.no (daishu59)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.xml.mbox.zip!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.newsmth.net!NEWSMTH
Newsgroups: cn.bbs.comp.xml
Organization: 水木����
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: XML/i/M.1290683208.g0
Xref: 74.82.202.154 cn.bbs.comp.xml:7779

����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]

�腋����转����?
--

�� ��源:��水木���� http://newsmth.net��[FROM: 60.247.44.*]