KDM 1.4 RTF Avatar
  1. OMG Issue

KDM14 — Lack of support for SourceRef to a non-plain text resource

  • Key: KDM14-207
  • Status: closed  
  • Source: KDM Analytics ( Nikolai Mansourov)
  • Summary:

    This issue is related to KDM14-69.
    Current KDM allows SourceRef to reference SourceRegion element, which assumes a plain text target. While this does cover the main use case, there are multiple other use cases. This situation is significantly mitigated by the addition of the new TraceableTo relation. However, we still need a capability to refer to non-plain text regions.
    Propose introducing an abstract superclass "Region" with a subclass SourceRegion (current class) and another one "BinaryRegion" for references to binary files with attributes startOffset, endOffset, format,language , and another one "ReferenceableRegion" with attributes ref, format and language

  • Reported: KDM 1.3 — Wed, 4 Feb 2015 17:31 GMT
  • Disposition: Resolved — KDM 1.4
  • Disposition Summary:

    Allow non-text regions in arbitrary InventoryItem

    Add abstract class Region as superclass of SourceRegion with attributes path:String, format:String, association file to InventoryItem[0..1] and add two additional subclasses:
    BinaryRegion with attributes startAddr:Integer, endAddr:Integer, and ReferenceableRegion with attribute ref:String

    The impact for this change is that 1) property file in SourceRegion will have type InventoryItem instead of SourceFile. 2) SourceRef will own tag "<region xmi:type="SourceRegion" ... />" instead of <SourceRegion ... />" because of multiple subtypes of Region.

  • Updated: Tue, 12 Jul 2016 14:44 GMT