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

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/dtd/ldml.dtd

    r5998 r6519  
    11<!-- 
    2 Copyright © 2003-2011 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. 
     2Copyright © 2003-2012 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. 
    33 
    44Permission 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. 
     
    1111--> 
    1212 
    13 <!ELEMENT ldml (identity, (alias |(fallback*, localeDisplayNames?, layout?, characters?, delimiters?, measurement?, dates?, numbers?, units?, listPatterns?, collations?, posix?, segmentations?, rbnf?, references?, special*))) > 
     13<!ELEMENT ldml (identity, (alias | (fallback*, localeDisplayNames?, layout?, contextTransforms?, characters?, delimiters?, measurement?, dates?, numbers?, units?, listPatterns?, collations?, posix?, segmentations?, rbnf?, metadata?, references?, special*))) > 
    1414<!ATTLIST ldml draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    1515 
     
    2020<!ELEMENT version EMPTY > 
    2121<!ATTLIST version number CDATA #REQUIRED > 
    22 <!ATTLIST version cldrVersion CDATA #FIXED "2.0.1" > 
     22<!ATTLIST version cldrVersion CDATA #FIXED "21.0" > 
    2323 
    2424<!ELEMENT generation EMPTY > 
     
    7676<!ELEMENT cp (special*) > 
    7777<!ATTLIST cp hex NMTOKEN #REQUIRED > 
    78  
    79 <!-- ######################################################### --> 
    80  
    8178 
    8279<!-- ######################################################### --> 
     
    213210<!ATTLIST orientation alt NMTOKENS #IMPLIED > 
    214211 
    215 <!ELEMENT inList ( #PCDATA ) > 
     212<!ELEMENT inList ( #PCDATA ) > <!-- deprecated, use contextTransforms --> 
    216213<!ATTLIST inList casing ( titlecase-words | titlecase-firstword | lowercase-words | mixed ) #IMPLIED > <!-- deprecated --> 
    217214<!ATTLIST inList draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     
    219216<!ATTLIST inList alt NMTOKENS #IMPLIED > 
    220217 
    221 <!ELEMENT inText ( #PCDATA ) > 
     218<!ELEMENT inText ( #PCDATA ) > <!-- deprecated, use contextTransforms --> 
    222219<!ATTLIST inText type ( languages | scripts | territories | variants | keys | types | measurementSystemNames | monthWidth | dayWidth | quarterWidth | long | fields | currency ) #IMPLIED > 
    223220<!ATTLIST inText draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED >  
     
    227224<!-- ######################################################### --> 
    228225 
     226<!ELEMENT contextTransforms ( alias | (contextTransformUsage*, special*)) > 
     227<!ATTLIST contextTransforms draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     228<!ATTLIST contextTransforms references CDATA #IMPLIED > 
     229<!ATTLIST contextTransforms alt NMTOKENS #IMPLIED > 
     230<!ATTLIST contextTransforms validSubLocales CDATA #IMPLIED > 
     231 
     232<!ELEMENT contextTransformUsage ( alias | (contextTransform*, special*)) > 
     233<!ATTLIST contextTransformUsage type CDATA #REQUIRED > 
     234<!ATTLIST contextTransformUsage draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     235<!ATTLIST contextTransformUsage references CDATA #IMPLIED > 
     236<!ATTLIST contextTransformUsage alt NMTOKENS #IMPLIED > 
     237<!ATTLIST contextTransformUsage validSubLocales CDATA #IMPLIED > 
     238 
     239<!ELEMENT contextTransform ( #PCDATA ) > 
     240<!ATTLIST contextTransform type ( uiListOrMenu | stand-alone ) #REQUIRED > 
     241<!ATTLIST contextTransform draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     242<!ATTLIST contextTransform references CDATA #IMPLIED > 
     243<!ATTLIST contextTransform alt NMTOKENS #IMPLIED > 
    229244 
    230245<!-- ######################################################### --> 
     
    404419<!ATTLIST calendars validSubLocales CDATA #IMPLIED > 
    405420 
    406 <!ELEMENT calendar (alias | (months?, monthNames?, monthAbbr?, days?, dayNames?, dayAbbr?, quarters?, week?, am*, pm*, dayPeriods?, eras?, dateFormats?, timeFormats?, dateTimeFormats?, fields*, special*))> 
     421<!ELEMENT calendar (alias | (months?, monthNames?, monthAbbr?, monthPatterns?, days?, dayNames?, dayAbbr?, quarters?, week?, am*, pm*, dayPeriods?, eras?, cyclicNameSets?, dateFormats?, timeFormats?, dateTimeFormats?, fields*, special*))> 
    407422<!ATTLIST calendar type NMTOKEN #REQUIRED > 
    408423<!ATTLIST calendar draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     
    442457<!ATTLIST month draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    443458 
     459<!ELEMENT monthPatterns ( alias | (monthPatternContext*, special*)) > 
     460<!ATTLIST monthPatterns draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     461<!ATTLIST monthPatterns references CDATA #IMPLIED > 
     462<!ATTLIST monthPatterns alt NMTOKENS #IMPLIED > 
     463<!ATTLIST monthPatterns validSubLocales CDATA #IMPLIED > 
     464 
     465<!ELEMENT monthPatternContext ( alias | (monthPatternWidth*, special*)) > 
     466<!ATTLIST monthPatternContext type ( format | stand-alone | numeric ) #REQUIRED > 
     467<!ATTLIST monthPatternContext draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     468<!ATTLIST monthPatternContext references CDATA #IMPLIED > 
     469<!ATTLIST monthPatternContext alt NMTOKENS #IMPLIED > 
     470<!ATTLIST monthPatternContext validSubLocales CDATA #IMPLIED > 
     471 
     472<!ELEMENT monthPatternWidth ( alias | (monthPattern*, special*)) > 
     473<!ATTLIST monthPatternWidth type ( abbreviated| narrow | wide | all ) #REQUIRED > 
     474<!ATTLIST monthPatternWidth draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     475<!ATTLIST monthPatternWidth references CDATA #IMPLIED > 
     476<!ATTLIST monthPatternWidth alt NMTOKENS #IMPLIED > 
     477<!ATTLIST monthPatternWidth validSubLocales CDATA #IMPLIED > 
     478 
     479<!ELEMENT monthPattern ( #PCDATA ) > 
     480<!ATTLIST monthPattern type ( leap | standardAfterLeap | combined ) #REQUIRED > 
     481<!ATTLIST monthPattern draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     482<!ATTLIST monthPattern references CDATA #IMPLIED > 
     483<!ATTLIST monthPattern alt NMTOKENS #IMPLIED > 
     484 
    444485 
    445486<!-- START_DEPRECATED --> 
     
    538579<!ELEMENT weekendStart (special*) > 
    539580<!ATTLIST weekendStart day ( sun | mon | tue | wed | thu | fri | sat ) #REQUIRED > 
    540 <!ATTLIST weekendStart time CDATA "00:00" > 
     581<!ATTLIST weekendStart time CDATA "00:00" > <!-- the "time" attribute is deprecated everywhere. --> 
    541582<!ATTLIST weekendStart draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    542583<!ATTLIST weekendStart references CDATA #IMPLIED > 
     
    545586<!ELEMENT weekendEnd (special*) > 
    546587<!ATTLIST weekendEnd day ( sun | mon | tue | wed | thu | fri | sat ) #REQUIRED > 
    547 <!ATTLIST weekendEnd time CDATA "24:00" > 
     588<!ATTLIST weekendEnd time CDATA "24:00" > <!-- the "time" attribute is deprecated everywhere. --> 
    548589<!ATTLIST weekendEnd draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    549590<!ATTLIST weekendEnd references CDATA #IMPLIED > 
     
    614655<!ATTLIST era references CDATA #IMPLIED > 
    615656<!ATTLIST era alt NMTOKENS #IMPLIED > 
     657 
     658<!ELEMENT cyclicNameSets ( alias | (cyclicNameSet*, special*)) > 
     659<!ATTLIST cyclicNameSets draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     660<!ATTLIST cyclicNameSets references CDATA #IMPLIED > 
     661<!ATTLIST cyclicNameSets alt NMTOKENS #IMPLIED > 
     662<!ATTLIST cyclicNameSets validSubLocales CDATA #IMPLIED > 
     663 
     664<!ELEMENT cyclicNameSet ( alias | (cyclicNameContext*, special*)) > 
     665<!ATTLIST cyclicNameSet type ( years | months | days | dayParts | zodiacs ) #REQUIRED > 
     666<!ATTLIST cyclicNameSet draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     667<!ATTLIST cyclicNameSet references CDATA #IMPLIED > 
     668<!ATTLIST cyclicNameSet alt NMTOKENS #IMPLIED > 
     669<!ATTLIST cyclicNameSet validSubLocales CDATA #IMPLIED > 
     670 
     671<!ELEMENT cyclicNameContext ( alias | (cyclicNameWidth*, special*)) > 
     672<!ATTLIST cyclicNameContext type ( format | stand-alone ) #REQUIRED > 
     673<!ATTLIST cyclicNameContext draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     674<!ATTLIST cyclicNameContext references CDATA #IMPLIED > 
     675<!ATTLIST cyclicNameContext alt NMTOKENS #IMPLIED > 
     676<!ATTLIST cyclicNameContext validSubLocales CDATA #IMPLIED > 
     677 
     678<!ELEMENT cyclicNameWidth ( alias | (cyclicName*, special*)) > 
     679<!ATTLIST cyclicNameWidth type ( abbreviated | narrow | wide ) #REQUIRED > 
     680<!ATTLIST cyclicNameWidth draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     681<!ATTLIST cyclicNameWidth references CDATA #IMPLIED > 
     682<!ATTLIST cyclicNameWidth alt NMTOKENS #IMPLIED > 
     683<!ATTLIST cyclicNameWidth validSubLocales CDATA #IMPLIED > 
     684 
     685<!ELEMENT cyclicName ( #PCDATA ) > 
     686<!ATTLIST cyclicName type NMTOKEN #REQUIRED > 
     687<!ATTLIST cyclicName draft ( approved | contributed | provisional | unconfirmed ) #IMPLIED > 
     688<!ATTLIST cyclicName references CDATA #IMPLIED > 
     689<!ATTLIST cyclicName alt NMTOKENS #IMPLIED > 
    616690 
    617691<!ELEMENT dateFormats (alias | (default*, dateFormatLength*, special*)) > 
     
    837911 
    838912 
    839 <!ELEMENT commonlyUsed ( #PCDATA ) > 
    840 <!ATTLIST commonlyUsed used ( true | false ) #IMPLIED > <!-- deprecated --> 
     913<!ELEMENT commonlyUsed ( #PCDATA ) > <!-- deprecated --> 
     914<!ATTLIST commonlyUsed used ( true | false ) #IMPLIED > 
    841915<!ATTLIST commonlyUsed draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    842916<!ATTLIST commonlyUsed references CDATA #IMPLIED > 
     
    887961<!-- ######################################################### --> 
    888962 
    889 <!ELEMENT numbers (alias | (defaultNumberingSystem*, symbols*, decimalFormats*, scientificFormats*, percentFormats*, currencyFormats*, currencies?, special*)) > 
     963<!ELEMENT numbers (alias | (defaultNumberingSystem*, otherNumberingSystems*, symbols*, decimalFormats*, scientificFormats*, percentFormats*, currencyFormats*, currencies?, special*)) > 
    890964<!ATTLIST numbers draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    891965<!ATTLIST numbers standard CDATA #IMPLIED > <!-- the "standard" attribute is deprecated everywhere. --> 
     
    898972<!ATTLIST defaultNumberingSystem draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    899973<!ATTLIST defaultNumberingSystem alt NMTOKENS #IMPLIED > 
     974 
     975<!ELEMENT otherNumberingSystems ( alias | ( native*, traditional*, finance*)) > 
     976<!ATTLIST otherNumberingSystems draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     977<!ATTLIST otherNumberingSystems alt NMTOKENS #IMPLIED > 
     978 
     979<!ELEMENT native ( #PCDATA ) > 
     980<!ATTLIST native draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     981<!ATTLIST native alt NMTOKENS #IMPLIED > 
     982 
     983<!ELEMENT traditional ( #PCDATA ) > 
     984<!ATTLIST traditional draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     985<!ATTLIST traditional alt NMTOKENS #IMPLIED > 
     986 
     987<!ELEMENT finance ( #PCDATA ) > 
     988<!ATTLIST finance draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
     989<!ATTLIST finance alt NMTOKENS #IMPLIED > 
    900990 
    901991<!ELEMENT symbols (alias | (decimal*, group*, list*, percentSign*, nativeZeroDigit*, patternDigit*, plusSign*, minusSign*, exponential*, perMille*, infinity*, nan*, currencyDecimal*, currencyGroup*, special*)) > 
     
    11181208<!ATTLIST symbol references CDATA #IMPLIED > 
    11191209<!ATTLIST symbol alt NMTOKENS #IMPLIED > 
    1120 <!ATTLIST symbol choice ( true | false ) #IMPLIED > 
     1210<!ATTLIST symbol choice ( true | false ) #IMPLIED > <!-- deprecated --> 
    11211211<!-- ######################################################### --> 
    11221212 
     
    11901280<!ATTLIST settings private              ( true | false ) #IMPLIED > 
    11911281<!ATTLIST settings variableTop          CDATA #IMPLIED > 
     1282<!ATTLIST settings reorder              NMTOKENS #IMPLIED > 
    11921283 
    11931284<!ELEMENT suppress_contractions (  #PCDATA | cp )* > 
     
    13251416<!ATTLIST rbnfrule draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED ><!-- true and false are deprecated. --> 
    13261417 
    1327 <!ELEMENT references ( reference* ) > 
     1418<!ELEMENT references ( reference* ) > <!-- deprecated. --> 
    13281419<!ELEMENT reference ( #PCDATA ) > 
    13291420<!ATTLIST reference type NMTOKEN #REQUIRED> 
     
    13321423<!ATTLIST reference draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. --> 
    13331424<!ATTLIST reference alt NMTOKENS #IMPLIED > 
     1425 
     1426<!-- ######################################################### --> 
     1427 
     1428<!-- This element contains metadata for Survey Tool internal use (optimization, etc). --> 
     1429 
     1430<!ELEMENT metadata (casingData?)> 
     1431 
     1432<!ELEMENT casingData (casingItem*)> 
     1433 
     1434<!ELEMENT casingItem (#PCDATA) > 
     1435<!ATTLIST casingItem type CDATA #REQUIRED > 
     1436 
Note: See TracChangeset for help on using the changeset viewer.