ColdFrame: Conversion to standard form

ColdFrame's "standard form" uses a home-grown schema rather than the standard XMI Metadata Interchange (XMI) one.

The processing is done using the Ada program normalize_xmi, which uses the XIA (XPath In Ada) package to access the XMI in the ArgoUML .uml file.


normalize_xmi takes the options

-c filename
Specifies the name of one or more case-exceptions files.
If there is more than one file, separate them using a colon : on Unix, a semicolon ; on Windows.
The file format and the casing rules are as used by Emacs ada-mode.
Each line contains a single specification of a desired casing. ColdFrame means that all occurrences of the string coldframe, in any case, as the whole of an identifier will be capitalized as given.
You have to indicate which are "substring exceptions", so if you want io to be capitalized as IO even if it occurs in text_io, resulting in Text_IO, you have to write *IO in the exceptions file.
Default is to do "title case" casing always (so text io comes out as Text_Io).
The Make variable is CASE_EXCEPTIONS, default is $(COLDFRAME)/scripts/emacs_case_exceptions.

Simon Wright