Skip to content

Commit 1fccd1e

Browse files
authored
Drop message.dtd data model definition (#1003)
1 parent 7963d9c commit 1fccd1e

File tree

3 files changed

+6
-61
lines changed

3 files changed

+6
-61
lines changed

spec/data-model/README.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MessageFormat 2.0 Data Model
1+
# Interchange Data Model
22

33
This section defines a data model representation of MessageFormat 2 _messages_.
44

@@ -33,26 +33,14 @@ This data model might also be used to:
3333

3434
To ensure compatibility across all platforms,
3535
this interchange data model is defined here using TypeScript notation.
36-
Two equivalent definitions of the data model are also provided:
37-
38-
- [`message.json`](./message.json) is a JSON Schema definition,
39-
for use with message data encoded as JSON or compatible formats, such as YAML.
40-
- [`message.dtd`](./message.dtd) is a document type definition (DTD),
41-
for use with message data encoded as XML.
36+
An equivalent JSON Schema definition [`message.json`](./message.json) is also provided,
37+
for use with message data encoded as JSON or compatible formats, such as YAML.
4238

4339
Note that while the data model description below is the canonical one,
44-
the JSON and DTD definitions are intended for interchange between systems and processors.
45-
To that end, they relax some aspects of the data model, such as allowing
40+
the JSON Schema definition is intended for interchange between systems and processors.
41+
To that end, it relaxes some aspects of the data model, such as allowing
4642
declarations, options, and attributes to be optional rather than required properties.
4743

48-
> [!NOTE]
49-
> Users relying on XML representations of messages should note that
50-
> XML 1.0 does not allow for the representation of all C0 control characters (U+0000-U+001F).
51-
> Except for U+0000 NULL , these characters are allowed in MessageFormat 2 messages,
52-
> so systems and users relying on this XML representation for interchange
53-
> might need to supply an alternate escape mechanism to support messages
54-
> that contain these characters.
55-
5644
> [!IMPORTANT]
5745
> The data model uses the field name `name` to denote various interface identifiers.
5846
> In the MessageFormat 2 [syntax](/spec/syntax.md), the source for these `name` fields

spec/data-model/message.dtd

Lines changed: 0 additions & 43 deletions
This file was deleted.

spec/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1. [Errors](errors.md)
1313
1. [Default Functions](functions/README.md)
1414
1. [`u:` Namespace](u-namespace.md)
15-
1. [Interchange data model](data-model/README.md)
15+
1. [Interchange Data Model](data-model/README.md)
1616
1. [Appendices](appendices.md)
1717
1. [Security Considerations](appendices.md#security-considerations)
1818
1. [Acknowledgements](appendices.md#acknowledgements)

0 commit comments

Comments
 (0)