Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions spec/registry.dtd
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
This DTD is not part of the LDML45 Tech Preview of MessageFormat 2
Comments on this DTD are welcome.
-->
<!ELEMENT registry (function|validationRule)*>
<!ATTLIST registry
xml:lang NMTOKEN #IMPLIED
Expand Down
6 changes: 6 additions & 0 deletions spec/registry.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="registry.dtd" type="application/xml-dtd"?>
<!--
This registry is not part of the LDML45 Tech Preview of MessageFormat 2.
Comments on the contents of this registry are welcome as we seek to
finalize the registry descriptions as part of the stable release
in LDML46.
-->
<registry xml:lang="en">
<!-- All regex here are to be seen as provisory. See issue #422. -->
<validationRule id="anyNumber" regex="-?(0|([1-9]\d*))(\.\d*)?([eE][-+]?\d+)?"/>
Expand Down