0023864: An & symbol is read incorrectly from a XML Ocaf file
[occt.git] / src / LDOM / LDOM_CharReference.cxx
index 98b34e0..99ce4bc 100755 (executable)
@@ -90,7 +90,7 @@ char * LDOM_CharReference::Decode (char * theSrc, Standard_Integer& theLen)
     }
     else if (IS_EQUAL(aSrcPtr+1, "amp;")) {
       aDstPtr = aSrcPtr - anIncrCount + 1;
-//    aDstPtr[-1] = '&';
+      aDstPtr[-1] = '&';
       anIncrCount += 4;
       aSrcPtr += 5;
     }