[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 

source: trunk/common/dtd/ldmlBCP47.dtd @ 12951

Revision 12951, 3.7 KB checked in by mdavis, 6 months ago (diff)

cldrbug 9782: enable tests, have finer grained checks. Fix a few problems in data.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Rev
Line 
1<!--
2Copyright © 2003-2016 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    <!--@METADATA-->
18<!ATTLIST version cldrVersion CDATA #FIXED "30" >
19    <!--@VALUE-->
20
21<!ELEMENT generation EMPTY >
22    <!--@METADATA-->
23    <!--@DEPRECATED-->
24<!ATTLIST generation date CDATA #REQUIRED >
25    <!--@METADATA-->
26    <!--@DEPRECATED-->
27
28<!ELEMENT cldrVersion EMPTY >
29    <!--@DEPRECATED-->
30<!ATTLIST cldrVersion version CDATA #REQUIRED >
31    <!--@METADATA-->
32    <!--@DEPRECATED-->
33
34<!ELEMENT keyword ( key* ) >
35
36<!ELEMENT key ( type* ) >
37<!ATTLIST key extension NMTOKEN #IMPLIED >
38<!ATTLIST key name NMTOKEN #REQUIRED >
39<!ATTLIST key description CDATA #IMPLIED >
40    <!--@VALUE-->
41<!ATTLIST key deprecated (true | false) "false" >
42    <!--@METADATA-->
43<!ATTLIST key preferred NMTOKEN #IMPLIED >
44    <!--@VALUE-->
45<!ATTLIST key alias NMTOKEN #IMPLIED >
46    <!--@VALUE-->
47<!ATTLIST key valueType (single | multiple | incremental | any) #IMPLIED >
48    <!--@VALUE-->
49<!ATTLIST key since CDATA #IMPLIED >
50    <!--@METADATA-->
51
52<!ELEMENT type EMPTY >
53<!ATTLIST type name NMTOKEN #REQUIRED >
54<!ATTLIST type description CDATA #REQUIRED >
55    <!--@VALUE-->
56<!ATTLIST type deprecated (true | false) "false" >
57    <!--@METADATA-->
58<!ATTLIST type preferred NMTOKEN #IMPLIED >
59    <!--@VALUE-->
60<!ATTLIST type alias CDATA #IMPLIED >
61    <!--@VALUE-->
62<!ATTLIST type since CDATA #IMPLIED >
63    <!--@METADATA-->
64
65<!ELEMENT attribute EMPTY >
66<!ATTLIST attribute name NMTOKEN #REQUIRED >
67<!ATTLIST attribute description CDATA #REQUIRED >
68    <!--@VALUE-->
69<!ATTLIST attribute deprecated (true | false) "false" >
70    <!--@METADATA-->
71<!ATTLIST attribute preferred NMTOKEN #IMPLIED >
72    <!--@VALUE-->
73<!ATTLIST attribute since CDATA #IMPLIED >
74    <!--@METADATA-->
Note: See TracBrowser for help on using the repository browser.