XMI 2.1 NO IDEA Avatar
  1. OMG Issue

XMI21 — Remarks to chapter "3.4.3 Derived Types and References" in XMI Spec. , v 2

  • Key: XMI21-20
  • Legacy Issue Number: 6065
  • Status: open  
  • Source: Anonymous
  • Summary:

    Remarks to chapter "3.4.3 Derived Types and References" in XMI Spec. , v 2.0, S. 3-15
    There it says:

    "... An instance of Company can use xsi:type to
    indicate that its HQAddress is actually of type USAddress and includes a zipcode:
    <Company xmi:id="Company_1" name="Acme">
    <HQAddress xmi:type="USAddress" xmi:id="Address_1"
    Street="Side Street" City="Hometown" zipcode="90210"
    ... "
    The 'HQAdress'-Element has a 'xmi:type'-Attribute. Parsing this with Xerces 2.4.0 gives problems, since a 'xsi:type' Attribute is required. Derived types must be specified with the 'xsi:type'-Attibute. Maybe the line
    "... An instance of Company CAN use xsi:type ..."
    should be changed in
    " ... An instance of Company MUST use xsi:type ..."

  • Reported: XMI 1.3 — Wed, 13 Aug 2003 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:59 GMT