Archived issue #0022305
XDE Xml reader does not check the version of xml file
Description
Bug representation is avaible with help of attached Attachment 2 (XML) file with
version=100500 (but the last ver. is 6).
Type the following: Open vesionBug.xml D
after that the reading status is equal 0 (Ok). So this thing is incorrect.
version=100500 (but the last ver. is 6).
Type the following: Open vesionBug.xml D
after that the reading status is equal 0 (Ok). So this thing is incorrect.
Additional information
Documentation remark, added by Author 2011-03-15 16:04:01:
Improvements:
Now the Xml document reader check the version of document for compatibility with
itself version. If file version greater than reader version the reader status
sets to PCDM_RS_NoVersion and no operation performs.
Modified entities:
XmlLDrivers package:
XmlLDrivers_DocumentRetrievalDriver.cxx
(XmlLDrivers_DocumentRetrievalDriver.cdl) - changes in ReadFromDomDocument method.
Improvements:
Now the Xml document reader check the version of document for compatibility with
itself version. If file version greater than reader version the reader status
sets to PCDM_RS_NoVersion and no operation performs.
Modified entities:
XmlLDrivers package:
XmlLDrivers_DocumentRetrievalDriver.cxx
(XmlLDrivers_DocumentRetrievalDriver.cdl) - changes in ReadFromDomDocument method.
Public activity
No public notes
Participants are labeled by their role within this record.