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:48:30 UTC

svn commit: r369446 - /xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp

Author: cargilld
Date: Mon Jan 16 03:48:24 2006
New Revision: 369446

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

Modified:
    xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp

Modified: xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp?rev=369446&r1=369445&r2=369446&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.cpp Mon Jan 16 03:48:24 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