What is a valid QName?

I got the following error while deploying a process:

ENGINE-09005 Could not parse BPMN process. Errors: \n* cvc-datatype-valid.1.2.1: ‘112’ is not a valid value for ‘QName’.

cvc-attribute.3: The value ‘112’ of attribute ‘id’ on element ‘bpmn:message’ is not valid with respect to its type, ‘ID’.

What are the valid values for message id’s? What other elements have the same restrictions?

Thanks in advance, Gonzalo.


see for example the Wikipedia article about QNames. They cannot start with a digit.

For all the places where QNames are used you can have a look at the XSDs of BPMN 2.0 at the OMG. Especially the Semantic.xsd which contains most of the non DI related BPMN elements. QNames are used whenever another element is references by its namespace and id.


All right, thanks, I’ve added a prefix and now it works fine.