CTS2 1.0 FTF Avatar
  1. OMG Issue

CTS2F2 — CTS2: Inconsistent element/complexType declarations

  • Key: CTS2F2-62
  • Legacy Issue Number: 17320
  • Status: closed  
  • Source: Mayo Clinic ( Mr. Craig Stancl)
  • Summary:

    The current xml schemas in the rest/schema directory present an inconsistent combination of the "Venetian Blind" and "Garden of Eden" schema patterns (http://developers.sun.com/jsenterprise/archive/nb_enterprise_pack/reference/techart/design_patterns.html), where all elements except the elemMsg, elemList and elemDirectory have both complexType and element declarations. The approaches to these two patterns can be quite different in a schema compiler such as pyxb. We propose that all element declarations follow the general pattern:

    ...

    /xs:complexType

    For resources that can be document level elements and complex (or simple) for the rest)

    Logged: https://github.com/cts2/cts2-specification/issues/88

  • Reported: CTS2 1.0b1 — Fri, 20 Apr 2012 04:00 GMT
  • Disposition: Resolved — CTS2 1.0
  • Disposition Summary:

    PIM: N/A
    PSM:
    Changed any XSD Element in the form of:
    <xs:element name='x'>
    <xs:complexType>
    ...
    </xs:complexType>
    </xs:element>
    to:
    <xs:element name='x' type = 'x'/>
    <xs:complexType name='x'>
    ...
    </xs:complexType>

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