• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2Copyright © 2003-2019 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
3
4Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified.
5
6THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
7
8Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder.
9$Revision$
10-->
11
12<!ELEMENT ldmlBCP47 ( version, generation?, cldrVersion?, keyword*, attribute* ) >
13
14<!ELEMENT version EMPTY >
15    <!--@METADATA-->
16<!ATTLIST version number CDATA #REQUIRED >
17	<!--@MATCH:regex/\$Revision.*\$-->
18    <!--@METADATA-->
19<!ATTLIST version cldrVersion CDATA #FIXED "38.1" >
20	<!--@MATCH:version-->
21    <!--@VALUE-->
22
23<!ELEMENT generation EMPTY >
24    <!--@METADATA-->
25    <!--@DEPRECATED-->
26<!ATTLIST generation date CDATA #REQUIRED >
27    <!--@METADATA-->
28    <!--@DEPRECATED-->
29
30<!ELEMENT cldrVersion EMPTY >
31    <!--@DEPRECATED-->
32<!ATTLIST cldrVersion version CDATA #REQUIRED >
33    <!--@METADATA-->
34    <!--@DEPRECATED-->
35
36<!ELEMENT keyword ( key* ) >
37
38<!ELEMENT key ( type* ) >
39<!ATTLIST key extension NMTOKEN #IMPLIED >
40	<!--@MATCH:any-->
41<!ATTLIST key name NMTOKEN #REQUIRED >
42	<!--@MATCH:regex/[a-z0-9]{2}-->
43<!ATTLIST key description CDATA #IMPLIED >
44	<!--@MATCH:any-->
45    <!--@VALUE-->
46<!ATTLIST key deprecated (true | false) "false" >
47    <!--@VALUE-->
48<!ATTLIST key preferred NMTOKEN #IMPLIED >
49    <!--@VALUE-->
50<!ATTLIST key alias NMTOKEN #IMPLIED >
51	<!--@MATCH:any-->
52    <!--@VALUE-->
53<!ATTLIST key valueType (single | multiple | incremental | any) #IMPLIED >
54    <!--@VALUE-->
55<!ATTLIST key since CDATA #IMPLIED >
56	<!--@MATCH:version-->
57    <!--@METADATA-->
58
59<!ELEMENT type EMPTY >
60<!ATTLIST type name NMTOKEN #REQUIRED >
61	<!--@MATCH:any-->
62<!ATTLIST type description CDATA #REQUIRED >
63	<!--@MATCH:any-->
64    <!--@VALUE-->
65<!ATTLIST type deprecated (true | false) "false" >
66    <!--@VALUE-->
67<!ATTLIST type preferred NMTOKEN #IMPLIED >
68	<!--@MATCH:bcp47/anyvalue-->
69    <!--@VALUE-->
70<!ATTLIST type alias CDATA #IMPLIED >
71	<!--@MATCH:any-->
72    <!--@VALUE-->
73<!ATTLIST type since CDATA #IMPLIED >
74	<!--@MATCH:version-->
75    <!--@METADATA-->
76
77<!ELEMENT attribute EMPTY >
78<!ATTLIST attribute name NMTOKEN #REQUIRED >
79<!ATTLIST attribute description CDATA #REQUIRED >
80    <!--@VALUE-->
81<!ATTLIST attribute deprecated (true | false) "false" >
82    <!--@VALUE-->
83<!ATTLIST attribute preferred NMTOKEN #IMPLIED >
84    <!--@VALUE-->
85<!ATTLIST attribute since CDATA #IMPLIED >
86    <!--@METADATA-->
87