1. A computer program product, tangibly embodied on computer-readable media, the computer program product being operable to cause a data processing apparatus to: enable generation of a design in a markup language for rendering a report, the design specifying at least one section having a visual format and at least one associated condition, the at least one condition being written in the markup language and defining criterion for rendering the report according to the corresponding visual format; and enable parsing of the design and the at least one condition according to a pre-defined grammar to determine whether the design and the at least one condition are syntactically correct.