Menu

#491 Mask typo error not detected by Validate XML file

Technical
closed
xml (2)
3
2014-07-18
2014-07-16
Alain LM
No

A quite annoying issue for XML developers.

Whenever one makes a mistake in a mask definition by omitting one character (such as mask=”XXVXXXX” instead of mask=”XXVXXXXX” – yes check your glasses), the decoder definition file will pass both the “Check” and “Validate XML files” tests, but the decoder file will never open.

It took me long before I found this error (typo) in one of my files. I would have expected “validate XML file” to point the error upfront.

Discussion

  • Alain LM

    Alain LM - 2014-07-16
    • Group: Broad_impact --> Technical
     
  • Bob Jacobsen

    Bob Jacobsen - 2014-07-18

    Great suggestion! Now checks for both length and that only V and X characters are used. That found quite a few bad values, also fixed.

    Thanks!

     
  • Bob Jacobsen

    Bob Jacobsen - 2014-07-18
    • status: open --> closed
    • assigned_to: Bob Jacobsen