You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2006/01/16 12:43:03 UTC

svn commit: r369442 - /xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp

Author: cargilld
Date: Mon Jan 16 03:43:00 2006
New Revision: 369442

URL: http://svn.apache.org/viewcvs?rev=369442&view=rev
Log:
Fix for jira bug 1546.  Canonical value of list was putting in an extra null character.

Modified:
    xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp

Modified: xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp?rev=369442&r1=369441&r2=369442&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp (original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/ListDatatypeValidator.cpp Mon Jan 16 03:43:00 2006
@@ -432,7 +432,7 @@
             }
 
             XMLString::catString(retBufPtr, itemCanRep);
-            retBufPtr = retBufPtr + itemLen + 1;
+            retBufPtr = retBufPtr + itemLen;
             *(retBufPtr++) = chSpace;
             *(retBufPtr) = chNull;
             toUse->deallocate(itemCanRep);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org