< prev index next >

make/data/cldr/common/dtd/ldml.dtd

Print this page
rev 56742 : [mq]: 8231273
   1 <!--
   2 Copyright © 2003-2019 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
   3 
   4 Permission 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 
   6 THE 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 
   8 Except 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: 14983 $
  10 -->
  11 
  12 <!ELEMENT ldml ( identity, ( alias | ( fallback*, localeDisplayNames?, layout?, contextTransforms?, characters?, delimiters?, measurement?, dates?, numbers?, units?, listPatterns?, collations?, posix?, characterLabels?, segmentations?, rbnf?, typographicNames?, annotations?, metadata?, references?, special* ) ) ) >
  13 <!ATTLIST ldml version CDATA #IMPLIED >
  14     <!--@METADATA-->
  15     <!--@DEPRECATED-->
  16 <!ATTLIST ldml draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  17     <!--@METADATA-->
  18     <!--@DEPRECATED-->
  19 
  20 <!-- ######################################################### -->
  21 
  22 <!ELEMENT identity ( alias | ( version, generation?, language, script?, territory?, variant?, special* ) ) >
  23 <!ATTLIST identity draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  24     <!--@METADATA-->
  25     <!--@DEPRECATED-->
  26 
  27 <!-- ######################################################### -->
  28 <!-- # These elements are common to almost all elements defined -->
  29 
  30 <!ELEMENT alias ( special* ) >
  31 <!ATTLIST alias source NMTOKEN #REQUIRED >
  32     <!--@MATCH:literal/locale-->
  33     <!--@VALUE-->
  34 <!ATTLIST alias path CDATA #IMPLIED >
  35     <!--@MATCH:regex/\.\..*-->
  36     <!--@VALUE-->
  37 <!ATTLIST alias alt NMTOKENS #IMPLIED >
  38     <!--@MATCH:literal/variant-->
  39 <!ATTLIST alias draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  40     <!--@METADATA-->
  41     <!--@DEPRECATED-->
  42 
  43 <!ELEMENT special ANY >
  44 
  45 <!ELEMENT version EMPTY >
  46 <!ATTLIST version number CDATA #REQUIRED >
  47     <!--@MATCH:regex/\$Revision.*\$-->
  48     <!--@METADATA-->
  49 <!ATTLIST version cldrVersion CDATA #FIXED "35.1" >
  50     <!--@MATCH:any-->
  51     <!--@VALUE-->
  52 <!ATTLIST version draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  53     <!--@METADATA-->
  54     <!--@DEPRECATED-->
  55 
  56 <!ELEMENT generation EMPTY >
  57     <!--@METADATA-->
  58     <!--@DEPRECATED-->
  59 <!ATTLIST generation date CDATA #REQUIRED >
  60     <!--@VALUE-->
  61     <!--@DEPRECATED-->
  62 <!ATTLIST generation draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  63     <!--@METADATA-->
  64     <!--@DEPRECATED-->
  65 
  66 <!ELEMENT language ( #PCDATA ) >
  67 <!ATTLIST language type NMTOKEN #REQUIRED >
  68     <!--@MATCH:validity/locale-->
  69 <!ATTLIST language alt NMTOKENS #IMPLIED >


2526 <!ATTLIST perUnitPattern draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2527     <!--@METADATA-->
2528 <!ATTLIST perUnitPattern references CDATA #IMPLIED >
2529     <!--@METADATA-->
2530 
2531 <!ELEMENT unitLength ( alias | ( compoundUnit*, unit*, coordinateUnit*, special* ) ) >
2532 <!ATTLIST unitLength type (long | short | narrow) #REQUIRED >
2533 <!ATTLIST unitLength alt NMTOKENS #IMPLIED >
2534     <!--@MATCH:literal/variant-->
2535 <!ATTLIST unitLength draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2536     <!--@METADATA-->
2537     <!--@DEPRECATED-->
2538 <!ATTLIST unitLength references CDATA #IMPLIED >
2539     <!--@METADATA-->
2540 <!ATTLIST unitLength validSubLocales CDATA #IMPLIED >
2541     <!--@VALUE-->
2542     <!--@DEPRECATED-->
2543 
2544 <!ELEMENT compoundUnit ( alias | ( compoundUnitPattern*, special* ) ) >
2545 <!ATTLIST compoundUnit type NMTOKEN #REQUIRED >
2546     <!--@MATCH:literal/per-->
2547 <!ATTLIST compoundUnit alt NMTOKENS #IMPLIED >
2548     <!--@MATCH:literal/variant-->
2549 <!ATTLIST compoundUnit draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2550     <!--@METADATA-->
2551     <!--@DEPRECATED-->
2552 <!ATTLIST compoundUnit references CDATA #IMPLIED >
2553     <!--@METADATA-->
2554 <!ATTLIST compoundUnit validSubLocales CDATA #IMPLIED >
2555     <!--@VALUE-->
2556     <!--@DEPRECATED-->
2557 
2558 <!ELEMENT compoundUnitPattern ( #PCDATA ) >
2559 <!ATTLIST compoundUnitPattern alt NMTOKENS #IMPLIED >
2560     <!--@MATCH:literal/variant-->
2561 <!ATTLIST compoundUnitPattern draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2562     <!--@METADATA-->
2563 <!ATTLIST compoundUnitPattern references CDATA #IMPLIED >
2564     <!--@METADATA-->
2565 <!ATTLIST compoundUnitPattern validSubLocales CDATA #IMPLIED >
2566     <!--@VALUE-->


   1 <!--
   2 Copyright © 2003-2019 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
   3 
   4 Permission 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 
   6 THE 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 
   8 Except 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 ldml ( identity, ( alias | ( fallback*, localeDisplayNames?, layout?, contextTransforms?, characters?, delimiters?, measurement?, dates?, numbers?, units?, listPatterns?, collations?, posix?, characterLabels?, segmentations?, rbnf?, typographicNames?, annotations?, metadata?, references?, special* ) ) ) >
  13 <!ATTLIST ldml version CDATA #IMPLIED >
  14     <!--@METADATA-->
  15     <!--@DEPRECATED-->
  16 <!ATTLIST ldml draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  17     <!--@METADATA-->
  18     <!--@DEPRECATED-->
  19 
  20 <!-- ######################################################### -->
  21 
  22 <!ELEMENT identity ( alias | ( version, generation?, language, script?, territory?, variant?, special* ) ) >
  23 <!ATTLIST identity draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  24     <!--@METADATA-->
  25     <!--@DEPRECATED-->
  26 
  27 <!-- ######################################################### -->
  28 <!-- # These elements are common to almost all elements defined -->
  29 
  30 <!ELEMENT alias ( special* ) >
  31 <!ATTLIST alias source NMTOKEN #REQUIRED >
  32     <!--@MATCH:literal/locale-->
  33     <!--@VALUE-->
  34 <!ATTLIST alias path CDATA #IMPLIED >
  35     <!--@MATCH:regex/\.\..*-->
  36     <!--@VALUE-->
  37 <!ATTLIST alias alt NMTOKENS #IMPLIED >
  38     <!--@MATCH:literal/variant-->
  39 <!ATTLIST alias draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  40     <!--@METADATA-->
  41     <!--@DEPRECATED-->
  42 
  43 <!ELEMENT special ANY >
  44 
  45 <!ELEMENT version EMPTY >
  46 <!ATTLIST version number CDATA #REQUIRED >
  47     <!--@MATCH:regex/\$Revision.*\$-->
  48     <!--@METADATA-->
  49 <!ATTLIST version cldrVersion CDATA #FIXED "36" >
  50     <!--@MATCH:any-->
  51     <!--@VALUE-->
  52 <!ATTLIST version draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  53     <!--@METADATA-->
  54     <!--@DEPRECATED-->
  55 
  56 <!ELEMENT generation EMPTY >
  57     <!--@METADATA-->
  58     <!--@DEPRECATED-->
  59 <!ATTLIST generation date CDATA #REQUIRED >
  60     <!--@VALUE-->
  61     <!--@DEPRECATED-->
  62 <!ATTLIST generation draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
  63     <!--@METADATA-->
  64     <!--@DEPRECATED-->
  65 
  66 <!ELEMENT language ( #PCDATA ) >
  67 <!ATTLIST language type NMTOKEN #REQUIRED >
  68     <!--@MATCH:validity/locale-->
  69 <!ATTLIST language alt NMTOKENS #IMPLIED >


2526 <!ATTLIST perUnitPattern draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2527     <!--@METADATA-->
2528 <!ATTLIST perUnitPattern references CDATA #IMPLIED >
2529     <!--@METADATA-->
2530 
2531 <!ELEMENT unitLength ( alias | ( compoundUnit*, unit*, coordinateUnit*, special* ) ) >
2532 <!ATTLIST unitLength type (long | short | narrow) #REQUIRED >
2533 <!ATTLIST unitLength alt NMTOKENS #IMPLIED >
2534     <!--@MATCH:literal/variant-->
2535 <!ATTLIST unitLength draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2536     <!--@METADATA-->
2537     <!--@DEPRECATED-->
2538 <!ATTLIST unitLength references CDATA #IMPLIED >
2539     <!--@METADATA-->
2540 <!ATTLIST unitLength validSubLocales CDATA #IMPLIED >
2541     <!--@VALUE-->
2542     <!--@DEPRECATED-->
2543 
2544 <!ELEMENT compoundUnit ( alias | ( compoundUnitPattern*, special* ) ) >
2545 <!ATTLIST compoundUnit type NMTOKEN #REQUIRED >
2546     <!--@MATCH:literal/per, times-->
2547 <!ATTLIST compoundUnit alt NMTOKENS #IMPLIED >
2548     <!--@MATCH:literal/variant-->
2549 <!ATTLIST compoundUnit draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2550     <!--@METADATA-->
2551     <!--@DEPRECATED-->
2552 <!ATTLIST compoundUnit references CDATA #IMPLIED >
2553     <!--@METADATA-->
2554 <!ATTLIST compoundUnit validSubLocales CDATA #IMPLIED >
2555     <!--@VALUE-->
2556     <!--@DEPRECATED-->
2557 
2558 <!ELEMENT compoundUnitPattern ( #PCDATA ) >
2559 <!ATTLIST compoundUnitPattern alt NMTOKENS #IMPLIED >
2560     <!--@MATCH:literal/variant-->
2561 <!ATTLIST compoundUnitPattern draft (approved | contributed | provisional | unconfirmed) #IMPLIED >
2562     <!--@METADATA-->
2563 <!ATTLIST compoundUnitPattern references CDATA #IMPLIED >
2564     <!--@METADATA-->
2565 <!ATTLIST compoundUnitPattern validSubLocales CDATA #IMPLIED >
2566     <!--@VALUE-->


< prev index next >