-
Key: BPMN2-266
-
Legacy Issue Number: 15083
-
Status: closed
-
Source: International Business Machines ( Ms. Suzette Samoojh)
-
Summary:
The XSD schema supports mixed-content text within Documentation or Text Annotations. This allows for formatted content (e.g. html tags for bolding or italics).
The problem occurs when interchanging the XML, since a consumer of the XML has no way of telling what format was used for the text (i.e. to tell that it was html rather than plain text).
Recommend adding an attribute for a mime-type. Example usages could then be "text/plain" for regular text and "text/html" for html structured text.
-
Reported: BPMN 2.0b1 — Wed, 24 Feb 2010 05:00 GMT
-
Disposition: Resolved — BPMN 2.0
-
Disposition Summary:
1. Spec tables 8.6 and 8.24: Add an attribute to both
Name: "textFormat: string"
Description: This attribute identifies the format of the text. It must follow the mime-type format. The default is "text/plain".
2. UML metamodel: Update the UML metamodel to add the same attribute to the Documentation and TextAnnotation classes.
Replace all spec figures that show the Documentation and TextAnnotation classes.
3. XSD: Add an attribute to the tDocumentation and tTextAnnotation complexTypes
<xsd:attribute name="textFormat" type="xsd:string" default="text/plain"/>
Update the XSD snippets in tables 8.17 and 8.29 to match.
Disposition: Resolved -
Updated: Fri, 6 Mar 2015 20:57 GMT
BPMN2 — No way to identify the format of Documentation and TextAnnotation connect
- Key: BPMN2-266
- OMG Task Force: BPMN 2.0 FTF