KDM 1.0 NO IDEA Avatar
  1. OMG Issue

KDM — Need additional attribute for SourceFile element to specify encoding

  • Key: KDM-122
  • Legacy Issue Number: 10451
  • Status: closed  
  • Source: KDM Analytics ( Dr. Nikolai Mansourov)
  • Summary:

    Section 11.4
    Severity: minor
    Nature: clarification

    KDM assumes that a source file is a sequence of lines, identified by a linenumber. Each line is a sequence of characters, identified by a position within the line. Whitespace characters like tabulation are considered to be a single character.

    What is the definition of character in regards to the KDM? Is it a byte, 2 bytes, UTF-8 or ????, What about special characters such as in Java \u0234. How should that work?
    Are both line numbers and position, 1 based?

    An additional attribute to specify encoding is needed for the element SourceRegion and SourceFile.

  • Reported: KDM 1.0b1 — Sat, 18 Nov 2006 05:00 GMT
  • Disposition: Resolved — KDM 1.0
  • Disposition Summary:

    No Data Available

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