XML Input/Output and XML Restrictions

In Astah Professional information about models and diagram elements can be modified through XML depending on purposes, such as displaying Class lists by loading XML. Only XML model data created with Astah may be imported into Astah.

XML

Intended Purpose

Strings are encoded using java.net.URLEncoder partially. In order to decode them, use java.net.URLDecoder. Particularly the names of element, labels of presentation and 2-byte characters in items definitions are encoded. Also, the values of TaggedValue are encoded if TaggedValue's value includes plural pieces of information, in order to prevent misreading.

XML Input-Output

  • XML files are compliant with XML Specification version 1.1 (represents UML 1.4 model)
  • XML model information, diagrams and Mind Maps can only be imported if they were created with Astah.
  • All XML generated by Astah Professional is fully compatible with other versions of Astah Professional.
  • An Astah-specific format is used for diagram information, Mind Maps and UML 2.x models. The information about the Astah-specific format is currently not available to the public.

Since UML 2.0 Metamodel had a major revision, Astah is extending the UML 1.4 Metamodel in order to provide the presentation of UML 2.x models with consideration of compatibility.

Encoding rules

Strings are encoded using java.net.URLEncoder partially. In order to decode them, use java.net.URLDecoder. Particularly the names of element, labels of presentation, 2-byte characters in items definitions are encoded. Also the values of TaggedValue are encoded if TaggedValue’s value includes plural pieces of information, in order to prevent misreading.