Ticket #215 (assigned enhancement)
Add circuit xml validation to the loader
| Reported by: | jimcollins | Owned by: | scorfield |
|---|---|---|---|
| Type: | enhancement | Priority: | normal |
| Milestone: | Fusebox 5.6 | Component: | Miscellaneous |
| Version: | 5.5 | Severity: | normal |
| Keywords: | Cc: |
Description
Currently the loader just tries to do ParseXML() on the circuit file. If the circuit file isn't valid it throws an unhelpful error of "A problem was encountered while reading the #fb_.fuseboxXMLfile# file."
If XMLValidate was run first, you would get a much more helpful error like:
"[Fatal Error] :13:9: The element type "fuseaction" must be terminated by the matching end-tag "</fuseaction>" giving you the exact error and line number where the error occured.
I'll be glad to add this if someone wants.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
