Summary
The XmlParser from version 4.0.812 is strict when enforcing the schema provided. The change was introduced to speed up parsing performance but as a consequence fixed a bug that allowed the parsing of xml documents that do not conform to the schema.
How does it affect me?
XmlParser components with incorrect schemas will stop working after upgrading to Linx 4.0.812 or later.
What should I do?
If you upgrade Linx solutions from versions prior to 4.0.812 and you use the XmlParser component, make sure your schemas are correct. Test the XmlParser with a sample xml document. If it fails to parse fix the schema. You can also build the schema from the sample xml by using the Schema Editor and following these steps:
- Menu: File - Build from xml...
- Select the sample xml file
- Menu: Process - Compile Schema
- Accept
- Select the root element
Thanks to Dina for spotting this.
No comments:
Post a Comment