mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08: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