You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2009/03/12 13:44:42 UTC
svn commit: r752848 - /xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp
Author: amassari
Date: Thu Mar 12 12:44:40 2009
New Revision: 752848
URL: http://svn.apache.org/viewvc?rev=752848&view=rev
Log:
When the DOMLSInput contains a stringData buffer, the encoding of the source is XMLCH
Modified:
xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp
Modified: xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp?rev=752848&r1=752847&r2=752848&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp (original)
+++ xerces/c/trunk/src/xercesc/dom/impl/DOMLSInputImpl.cpp Thu Mar 12 12:44:40 2009
@@ -48,6 +48,7 @@
void DOMLSInputImpl::setStringData(const XMLCh* data)
{
fStringData=data;
+ setEncoding(XMLUni::fgXMLChEncodingString);
}
void DOMLSInputImpl::setByteStream(InputSource* stream)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org