WriteXMLFile does not raise an exception on Invalid Characters
Original Reporter info from Mantis: scribly
-
Reporter name: Eric Heijnen
Original Reporter info from Mantis: scribly
- Reporter name: Eric Heijnen
Description:
When using WriteXMLFile to write an xml file with special characters in the data (like ) it does not generate an 'Invalid Character' exception.
The user will find this out when he tries to load back the xml file.
It doesn't happen often that someone accidentally copy/pastes some text with a bit of raw data at the end into a document that then gets saved as xml but either throw an exception on save, or allow it to be loaded.
I've attached an example project
Mantis conversion info:
- Mantis ID: 20780
- OS: Windows
- OS Build: 7
- Platform: x86_64
- Version: 2.5.1
- Fixed in version: 3.0.0
- Fixed in revision: 19792 (#631528a0)