Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#15 Rules document XML errors should be reported with details

0.4.1
closed-fixed
Paul Cantrell
Ant task (2)
5
2005-06-11
2005-06-10
No

Right now if there is an XML error Macker Ant task just
says:
"Error in rules document XML" but does not give any
additional information what is wrong. XML parser does
provide this information but the task does not print it.

Something like the attached patch should help.
The patch is made for current CVS but the change also
works for current version (1.4.2).

This is the message I got with the

[macker] Error in rules document XML
[macker] Error on line 84: Attribute "pattern" must be
declared for element type "foreach".

Looks much more informative, right?
Thanks,
Andriy

Discussion

    • priority: 5 --> 4
     
  • Paul Cantrell
    Paul Cantrell
    2005-06-11

    • priority: 4 --> 5
    • assigned_to: nobody --> melquiades
     
  • Paul Cantrell
    Paul Cantrell
    2005-06-11

    • status: open --> closed
     
  • Paul Cantrell
    Paul Cantrell
    2005-06-11

    • status: closed --> closed-fixed