Common structure

Previous Next

The structure below applies to all usoft xml error messages:

<uslng:messages xmlns:uslng="..." app-interface="..." version="1.0">

    <uslng:message msg-code="..." msg-category="..." msg-type="..." system-msg="..." language="...">

    </uslng:message>

</uslng:messages>

 

The table below gives details on attributes in this structure.

Attributes

Name

Mandatory

Type

Values

app-interface

Yes

String

sql-script | odbc | client-server | batch | http | creapp | usd-core

version

Yes

Number

The current USoft XML Messages version.

msg-code

Yes

Mixed

The message code as defined in system messages. Value is 'no code' for constraint messages.

msg-category

Yes

String

The message category as defined in system mesages. Value is 'built-in' for constraint messages.

msg-type

Yes

String

Error | Information | Warning

system-msg

No

String

Value is 'yes' when the corresponding message category is a system category, ie., has the System checkbox selected.

language

Yes

String

The current language. Value is 'default' when no language is specified.

 

 

See also

  XML Error Message Reference