mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023864: An & symbol is read incorrectly from a XML Ocaf file
A line is uncommented. This line sets the successfully read & symbol. Correction and adding test cases for issue CR23864
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user