XMI 1.2 NO IDEA Avatar
  1. OMG Issue

XMI12 — Urgent XMI 2.0 issue: XML Schema Production

  • Key: XMI12-1
  • Legacy Issue Number: 5946
  • Status: open  
  • Source: Mercury Systems ( Jim Kulp)
  • Summary:

    This is an urgent XMI 2.0 issue. All section and page numbers are against XMI 2.0 (formal/03-05-02).

    Section 1.11 (page 1-26) introduces the org.omg.xmi.attribute and org.omg.xmi.element tags to drive schema and document production so that a MOF attribute becomes either an XML attribute or subelement (or both, if both tags are false).

    Chapter 3 (XML Document Production) explicitly evaluates these tags, in rule 3g (page 3-6) or rule 5 (page 3-9).

    However, chapter 2 (XML Schema Production) does not mention these tags at all, so they are ignored by the schema production rules. Therefore, an XML Schema that is produced using these rules always contains attribute and element definitions for each MOF attribute.

    To avoid this ambiguity, rules 4i and 4j should only be executed if org.omg.xmi.element is false. Rules 4d and 4e should only be executed if org.omg.xmi.attribute is false.

  • Reported: XMI 1.1 — Thu, 5 Jun 2003 04:00 GMT
  • Updated: Wed, 11 Mar 2015 11:15 GMT