This validation takes a BPMN 2.0 xml file as input and validates it according to the BPMN 1.2 standard.
Processing Assumptions
Mandatory BPMN 1.2 elements such as statements that start with MUST or SHALL are validated. (These are statements that define the aspects of the standard that have to be met)
BPMN 1.2 rules about geometric form of the shape, border type and thickness are not validated
Elements that were introduced in BPMN 2.0 and have no equivalent representation in BPMN 1.2 are considered invalid
Data associations are validated as association in respect of connections rules (Data associations have the same visual representation than BPMN 1.2 association)
Elements that have the same representation but not the same meaning in BPMN 2.0 than in BPMN 1.2 are flagged as invalid (For example, a DataInput looks like a DataObject but does not have the same purpose. Since this validates the attributes, it won’t be considered valid)