]> OCCT Git - occt-copy.git/commit
0032299: Application Framework - Loading OCAF document saved with earlier version...
authormpv <mpv@opencascade.com>
Tue, 13 Apr 2021 15:31:31 +0000 (18:31 +0300)
committeremv <emv@opencascade.com>
Thu, 15 Apr 2021 06:22:37 +0000 (09:22 +0300)
commitfd696d15770a65a531ccccba47c102c34e73e45d
tree77ce1168a87eb6044e111b384e739eccfdbe757a
parent932961077177cf095f2ce44de9d23927b072a678
0032299: Application Framework - Loading OCAF document saved with earlier version fails when using OCCT 7.5.1

Keeping information about the file start instead of calling tellg. This fixes problem with not-seekable streams used for XML files reading and improves performance of XML files reading (about 10%), since tellg is quite long operation.
src/LDOM/LDOMParser.cxx
src/LDOM/LDOMParser.hxx
src/LDOM/LDOM_XmlReader.cxx
src/LDOM/LDOM_XmlReader.hxx