Ticket #1813 (closed: fixed)
More intelligent error message when loading an XML file with invalid XML syntax
Reported by: | Anders Markvardsen | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | major | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Whitty |
Description
When an instrument definition file, parameter file or a grouping file is read and such a file contains invalid XML syntax i.e. a missing forward slash e.g. <element><element> instead of <element></element> present message along the lines "Invalid XML syntax line ...." rather than just "Unable to parse file".
Hopefully poco provides some facility for this.
Change History
comment:1 Changed 10 years ago by Anders Markvardsen
- Status changed from new to assigned
- Owner set to Anders Markvardsen
comment:2 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 26 to Iteration 27
Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.
comment:3 Changed 10 years ago by Anders Markvardsen
(In [9446]) More intelligent error message when loading a number of XML format including LoadInstrument. In particular when defining instrument defintion files (IDFs) is it quite easy to by mistake add not well-formed XML. Now output sensible error messages informing about such mistakes and at what lines this occur.
To test this e.g. take any of the IDF and put in nonsense XML. re #1813.
comment:5 Changed 10 years ago by Anders Markvardsen
- Status changed from accepted to verify
- Resolution set to fixed
comment:6 Changed 10 years ago by Michael Whitty
- Status changed from verify to verifying
- Tester set to Michael Whitty