The Format of Message Files

The message .xml file is an XML document which is made up of a number of distinct elements combined with the core message elements; see The Format of Message Files.

As a standard XML document, the encoding attributed indicates that the file is encoded in UTF-8. It should be noted that this encoding will be respected and maintained by an XML aware editor. However, other editors (such as TextPad) do not maintain this encoding by default. A file which contains UTF-8 characters may have to be specifically saved as UTF-8 with these editors.

Figure 1. Example of Message text file
<?xml version="1.0" encoding="UTF-8"?>
<!-- A sample message file. -->
<messages package="curam.message">
  <message name="ERR_XRV_EXISTING_OVERLAP">
    <locale country="US" language="en">
      More than 1 overlapping Assessment has been found.
    </locale>
  </message>
    <message name="ERR_CREATION_DATE_EMPTY">
    <locale country="US" language="en">
      You must enter a creation date
    </locale>
  </message>
</messages>

The following sections detail the message.xml file elements and attributes.