CMMN 1.0 FTF Avatar
  1. OMG Issue

CMMN — The XML document dtc-13-11-05.xsd is NOT valid (1 errors)

  • Key: CMMN-19
  • Legacy Issue Number: 19137
  • Status: closed  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    Line 381: content types of base type 'tCmmnElementWithMixedContent' and derived type 'tExpression' must both be mixed or element-only.

    Presumably tExpression should be declared to be mixed: this is not implicit through inheritance

  • Reported: CMMN 1.0b1 — Thu, 12 Dec 2013 05:00 GMT
  • Disposition: Resolved — CMMN 1.0
  • Disposition Summary:

    Agreed on the issue, modify CMMN XML-Schema file CMMN10CaseModel.xsd
    Old specification of type "tExpression":
    <xsd:complexType name="tExpression">
    <xsd:complexContent>
    <xsd:extension base="tCmmnElementWithMixedContent">
    <xsd:sequence>
    <xsd:element name="body" type="xsd:string" minOccurs="0" maxOccurs="1"/>
    </xsd:sequence>
    <xsd:attribute name="language" type="xsd:anyURI" use="optional"
    default="http://www.w3.org/1999/XPath"/>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>

    New specification of type "tExpression":
    <xsd:complexType name="tExpression" mixed="true">
    <xsd:complexContent>
    <xsd:extension base="tCmmnElementWithMixedContent">
    <xsd:sequence>
    <xsd:element name="body" type="xsd:string" minOccurs="0" maxOccurs="1"/>
    </xsd:sequence>
    <xsd:attribute name="language" type="xsd:anyURI" use="optional"
    default="http://www.w3.org/1999/XPath"/>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>

  • Updated: Fri, 6 Mar 2015 20:58 GMT