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

Ignore:
Location:
tags/release-1-3/common/dtd
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • tags/release-1-3/common/dtd/ldml.dtd

    r11665 r11665  
    11<!-- 
    2  
    3     Copyright (c) 2002-2003 International Business Machines Corporation and others. All rights reserved. 
    4  
    5     Permission is hereby granted, free of charge, to any person obtaining a copy of the LDML format and associated documentation files (the "Format"), to deal in the Format without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Format, and to permit persons to whom the Format is furnished to do so, provided that both the above copyright notice(s) and this permission notice appear in supporting documentation. 
    6  
    7     THE FORMAT IS 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 THIS FORMAT. 
    8  
    9     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 this Format without prior written authorization of the copyright holder. 
    10  
    11     All trademarks and registered trademarks mentioned herein are the property of their respective owners. 
     2Copyright © 2003-2005 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. 
    129--> 
    1310 
    14 <!ELEMENT ldml (identity, (alias |(localeDisplayNames?, layout?, characters?, delimiters?, measurement?, dates?, numbers?, collations?, posix?, special*))) > 
     11<!ELEMENT ldml (identity, (alias |(localeDisplayNames?, layout?, characters?, delimiters?, measurement?, dates?, numbers?, collations?, posix?, references?, special*))) > 
    1512<!ATTLIST ldml 
    16    version          CDATA              #FIXED "1.2" 
     13   version          CDATA              #FIXED "1.3" 
    1714> 
    1815<!ATTLIST ldml draft ( true | false ) #IMPLIED > 
     
    2320 
    2421<!ELEMENT version ( #PCDATA ) > 
    25 <!ATTLIST version number NMTOKEN #REQUIRED > 
     22<!ATTLIST version number CDATA #REQUIRED > 
    2623 
    2724<!ELEMENT generation EMPTY > 
    28 <!ATTLIST generation date NMTOKEN #REQUIRED > 
     25<!ATTLIST generation date CDATA #REQUIRED > 
    2926 
    3027<!ELEMENT language ( #PCDATA ) > 
     
    6057<!ATTLIST alias source NMTOKEN #REQUIRED > 
    6158<!ATTLIST alias path CDATA #IMPLIED> 
     59<!ATTLIST alias draft ( true | false ) #IMPLIED > 
     60<!ATTLIST alias alt CDATA #IMPLIED > 
    6261 
    6362<!ELEMENT default (special*) > 
    6463<!ATTLIST default type NMTOKEN #REQUIRED > 
     64<!ATTLIST default draft ( true | false ) #IMPLIED > 
     65<!ATTLIST default references CDATA #IMPLIED > 
     66<!ATTLIST default alt CDATA #IMPLIED > 
    6567 
    6668<!ELEMENT special ANY > 
     
    140142<!-- ######################################################### --> 
    141143<!-- layout and orientation are script specific, so validSublocales attribute is not required --> 
    142 <!ELEMENT layout ( alias | (orientation?, special*) ) > 
     144<!ELEMENT layout ( alias | (orientation*, inList*, special*) ) > 
    143145<!ATTLIST layout draft ( true | false ) #IMPLIED > 
    144 <!ATTLIST layout standard CDATA #IMPLIED > 
    145146<!ATTLIST layout references CDATA #IMPLIED > 
    146147 
     
    151152<!ATTLIST orientation standard CDATA #IMPLIED > 
    152153<!ATTLIST orientation references CDATA #IMPLIED > 
     154<!ATTLIST orientation alt CDATA #IMPLIED > 
     155 
     156<!ELEMENT inList ( special* ) > 
     157<!ATTLIST inList casing ( titlecase-words | titlecase-firstword ) #REQUIRED > 
     158<!ATTLIST inList draft ( true | false ) #IMPLIED > 
     159<!ATTLIST inList references CDATA #IMPLIED > 
     160<!ATTLIST inList alt CDATA #IMPLIED > 
    153161 
    154162<!-- ######################################################### --> 
     
    214222<!-- ######################################################### --> 
    215223 
    216 <!ELEMENT measurement (alias | (measurementSystem?, paperSize?, special*)) > 
     224<!ELEMENT measurement (alias | (measurementSystem*, paperSize*, special*)) > 
    217225<!ATTLIST measurement draft ( true | false ) #IMPLIED > 
    218226<!ATTLIST measurement standard CDATA #IMPLIED > 
     
    221229<!ATTLIST measurement validSubLocales CDATA #IMPLIED > 
    222230 
    223 <!ELEMENT paperSize (alias | (height?, width?, special*)) > 
     231<!ELEMENT paperSize (alias | (height*, width*, special*)) > 
    224232<!ATTLIST paperSize draft ( true | false ) #IMPLIED > 
    225233<!ATTLIST paperSize standard CDATA #IMPLIED > 
     
    265273<!ATTLIST localizedPatternChars validSubLocales CDATA #IMPLIED > 
    266274 
    267 <!ELEMENT calendars (alias | (default?, calendar*, special*)) > 
     275<!ELEMENT calendars (alias | (default*, calendar*, special*)) > 
    268276<!ATTLIST calendars draft ( true | false ) #IMPLIED > 
    269277<!ATTLIST calendars validSubLocales CDATA #IMPLIED > 
    270278 
    271 <!ELEMENT calendar (alias | (months?, monthNames?, monthAbbr?, days?, dayNames?, dayAbbr?, week?, am?, pm?, eras?, dateFormats?, timeFormats?, dateTimeFormats?, fields*, special*))> 
     279<!ELEMENT calendar (alias | (months?, monthNames?, monthAbbr?, days?, dayNames?, dayAbbr?, week?, am*, pm*, eras?, dateFormats?, timeFormats?, dateTimeFormats?, fields*, special*))> 
    272280<!ATTLIST calendar type NMTOKEN #REQUIRED > 
    273281<!ATTLIST calendar draft ( true | false ) #IMPLIED > 
     
    277285<!ATTLIST calendar validSubLocales CDATA #IMPLIED > 
    278286 
    279 <!ELEMENT months ( alias | (default?, monthContext*, special*)) > 
     287<!ELEMENT months ( alias | (default*, monthContext*, special*)) > 
    280288<!ATTLIST months draft ( true | false ) #IMPLIED > 
    281289<!ATTLIST months standard CDATA #IMPLIED > 
     
    284292<!ATTLIST months validSubLocales CDATA #IMPLIED > 
    285293 
    286 <!ELEMENT monthContext ( alias | (default?, monthWidth*, special*)) > 
     294<!ELEMENT monthContext ( alias | (default*, monthWidth*, special*)) > 
    287295<!ATTLIST monthContext type ( format | stand-alone ) #REQUIRED > 
    288296<!ATTLIST monthContext draft ( true | false ) #IMPLIED > 
     
    314322<!-- END_DEPRECATED--> 
    315323 
    316 <!ELEMENT days ( alias | (default?, dayContext*, special*)) > 
     324<!ELEMENT days ( alias | (default*, dayContext*, special*)) > 
    317325<!ATTLIST days draft ( true | false ) #IMPLIED > 
    318326<!ATTLIST days standard CDATA #IMPLIED > 
     
    321329<!ATTLIST days validSubLocales CDATA #IMPLIED > 
    322330 
    323 <!ELEMENT dayContext ( alias | (default?, dayWidth*, special*)) > 
     331<!ELEMENT dayContext ( alias | (default*, dayWidth*, special*)) > 
    324332<!ATTLIST dayContext draft ( true | false ) #IMPLIED > 
    325333<!ATTLIST dayContext type ( format | stand-alone ) #REQUIRED > 
     
    353361<!-- END_DEPRECATED--> 
    354362 
    355 <!ELEMENT week (alias | (minDays?, firstDay?, weekendStart?, weekendEnd?, special*)) > 
     363<!ELEMENT week (alias | (minDays*, firstDay*, weekendStart*, weekendEnd*, special*)) > 
    356364<!ATTLIST week draft ( true | false ) #IMPLIED > 
    357365<!ATTLIST week standard CDATA #IMPLIED > 
     
    423431<!ATTLIST era alt CDATA #IMPLIED > 
    424432 
    425 <!ELEMENT dateFormats (alias | (default?, dateFormatLength*, special*)) > 
     433<!ELEMENT dateFormats (alias | (default*, dateFormatLength*, special*)) > 
    426434<!ATTLIST dateFormats draft ( true | false ) #IMPLIED > 
    427435<!ATTLIST dateFormats validSubLocales CDATA #IMPLIED > 
    428436 
    429 <!ELEMENT dateFormatLength (alias | (default?, dateFormat*, special*)) > 
     437<!ELEMENT dateFormatLength (alias | (default*, dateFormat*, special*)) > 
    430438<!ATTLIST dateFormatLength type ( full | long | medium | short ) #REQUIRED > 
    431439<!ATTLIST dateFormatLength draft ( true | false ) #IMPLIED > 
     
    435443<!ATTLIST dateFormatLength validSubLocales CDATA #IMPLIED > 
    436444 
    437 <!ELEMENT dateFormat (alias | (pattern*, displayName?, special*))  > 
     445<!ELEMENT dateFormat (alias | (pattern*, displayName*, special*))  > 
    438446<!ATTLIST dateFormat type NMTOKEN "standard"> 
    439447<!ATTLIST dateFormat draft ( true | false ) #IMPLIED > 
     
    448456<!ATTLIST displayName alt CDATA #IMPLIED > 
    449457 
    450 <!ELEMENT timeFormats (alias | (default?, timeFormatLength*, special*)) > 
     458<!ELEMENT timeFormats (alias | (default*, timeFormatLength*, special*)) > 
    451459<!ATTLIST timeFormats draft ( true | false ) #IMPLIED > 
    452460<!ATTLIST timeFormats validSubLocales CDATA #IMPLIED > 
    453461 
    454 <!ELEMENT timeFormatLength (alias | (default?, timeFormat*, special*)) > 
     462<!ELEMENT timeFormatLength (alias | (default*, timeFormat*, special*)) > 
    455463<!ATTLIST timeFormatLength type ( full | long | medium | short ) #REQUIRED > 
    456464<!ATTLIST timeFormatLength draft ( true | false ) #IMPLIED > 
     
    460468<!ATTLIST timeFormatLength validSubLocales CDATA #IMPLIED > 
    461469 
    462 <!ELEMENT timeFormat (alias | (pattern*, displayName?, special*)) > 
     470<!ELEMENT timeFormat (alias | (pattern*, displayName*, special*)) > 
    463471<!ATTLIST timeFormat type NMTOKEN "standard" > 
    464472<!ATTLIST timeFormat draft ( true | false ) #IMPLIED > 
     
    468476<!ATTLIST timeFormat validSubLocales CDATA #IMPLIED > 
    469477 
    470 <!ELEMENT dateTimeFormats (alias | (default?, dateTimeFormatLength*, special*)) > 
     478<!ELEMENT dateTimeFormats (alias | (default*, dateTimeFormatLength*, special*)) > 
    471479<!ATTLIST dateTimeFormats draft ( true | false ) #IMPLIED > 
    472480<!ATTLIST dateTimeFormats validSubLocales CDATA #IMPLIED > 
    473481 
    474 <!ELEMENT dateTimeFormatLength (alias | (default?, dateTimeFormat*, special*)) > 
     482<!ELEMENT dateTimeFormatLength (alias | (default*, dateTimeFormat*, special*)) > 
    475483<!ATTLIST dateTimeFormatLength type ( full | long | medium | short ) #IMPLIED > 
    476484<!ATTLIST dateTimeFormatLength draft ( true | false ) #IMPLIED > 
     
    480488<!ATTLIST dateTimeFormatLength validSubLocales CDATA #IMPLIED > 
    481489 
    482 <!ELEMENT dateTimeFormat (alias | (pattern*, displayName?, special*)) > 
     490<!ELEMENT dateTimeFormat (alias | (pattern*, displayName*, special*)) > 
    483491<!ATTLIST dateTimeFormat type NMTOKEN "standard"  > 
    484492<!ATTLIST dateTimeFormat draft ( true | false ) #IMPLIED > 
     
    488496<!ATTLIST dateTimeFormat validSubLocales CDATA #IMPLIED > 
    489497 
    490 <!ELEMENT timeZoneNames (alias | (hourFormat?, hoursFormat?, gmtFormat?, regionFormat?, fallbackFormat?, abbreviationFallback?, preferenceOrdering?, default?, zone*, special*)) > 
     498<!ELEMENT timeZoneNames (alias | (hourFormat*, hoursFormat*, gmtFormat*, regionFormat*, fallbackFormat*, abbreviationFallback*, preferenceOrdering*, singleCountries*, default*, zone*, special*)) > 
    491499<!ATTLIST timeZoneNames draft ( true | false ) #IMPLIED > 
    492500<!ATTLIST timeZoneNames validSubLocales CDATA #IMPLIED > 
    493501 
    494502<!ELEMENT hourFormat ( #PCDATA ) > 
     503<!ATTLIST hourFormat alt CDATA #IMPLIED > 
     504<!ATTLIST hourFormat draft ( true | false ) #IMPLIED > 
     505<!ATTLIST hourFormat references CDATA #IMPLIED > 
     506 
    495507<!ELEMENT hoursFormat ( #PCDATA ) > 
     508<!ATTLIST hoursFormat alt CDATA #IMPLIED > 
     509<!ATTLIST hoursFormat draft ( true | false ) #IMPLIED > 
     510<!ATTLIST hoursFormat references CDATA #IMPLIED > 
     511 
    496512<!ELEMENT gmtFormat ( #PCDATA ) > 
     513<!ATTLIST gmtFormat alt CDATA #IMPLIED > 
     514<!ATTLIST gmtFormat draft ( true | false ) #IMPLIED > 
     515<!ATTLIST gmtFormat references CDATA #IMPLIED > 
     516 
    497517<!ELEMENT regionFormat ( #PCDATA ) > 
     518<!ATTLIST regionFormat alt CDATA #IMPLIED > 
     519<!ATTLIST regionFormat draft ( true | false ) #IMPLIED > 
     520<!ATTLIST regionFormat references CDATA #IMPLIED > 
     521 
    498522<!ELEMENT fallbackFormat ( #PCDATA ) > 
    499  
    500 <!ELEMENT abbreviationFallback (special) > 
     523<!ATTLIST fallbackFormat alt CDATA #IMPLIED > 
     524<!ATTLIST fallbackFormat draft ( true | false ) #IMPLIED > 
     525<!ATTLIST fallbackFormat references CDATA #IMPLIED > 
     526 
     527<!ELEMENT abbreviationFallback EMPTY > 
    501528<!ATTLIST abbreviationFallback type ( GMT | standard ) #REQUIRED > 
    502  
    503 <!ELEMENT preferenceOrdering (special) > 
    504 <!ATTLIST preferenceOrdering type NMTOKEN #REQUIRED > 
     529<!ATTLIST abbreviationFallback alt CDATA #IMPLIED > 
     530<!ATTLIST abbreviationFallback draft ( true | false ) #IMPLIED > 
     531<!ATTLIST abbreviationFallback references CDATA #IMPLIED > 
     532 
     533<!ELEMENT preferenceOrdering EMPTY > 
     534<!ATTLIST preferenceOrdering type CDATA #REQUIRED > 
     535<!ATTLIST preferenceOrdering alt CDATA #IMPLIED > 
     536<!ATTLIST preferenceOrdering draft ( true | false ) #IMPLIED > 
     537<!ATTLIST preferenceOrdering references CDATA #IMPLIED > 
     538 
     539<!ELEMENT singleCountries EMPTY > 
     540<!ATTLIST singleCountries list CDATA #REQUIRED > 
     541<!ATTLIST singleCountries alt CDATA #IMPLIED > 
     542<!ATTLIST singleCountries draft ( true | false ) #IMPLIED > 
     543<!ATTLIST singleCountries references CDATA #IMPLIED > 
    505544 
    506545<!ELEMENT zone (alias | ( long*, short*, exemplarCity*, special*)) > 
     
    512551<!ATTLIST zone validSubLocales CDATA #IMPLIED > 
    513552 
    514 <!ELEMENT long (alias | (generic?, standard?, daylight?, special*)) > 
     553<!ELEMENT long (alias | (generic*, standard*, daylight*, special*)) > 
    515554<!ATTLIST long draft ( true | false ) #IMPLIED > 
    516555<!ATTLIST long references CDATA #IMPLIED > 
     
    528567<!ATTLIST standard alt CDATA #IMPLIED > 
    529568 
    530 <!ELEMENT short (alias | (generic?, standard?, daylight?, special*)) > 
     569<!ELEMENT short (alias | (generic*, standard*, daylight*, special*)) > 
    531570<!ATTLIST short draft ( true | false ) #IMPLIED > 
    532571<!ATTLIST short references CDATA #IMPLIED > 
     
    551590<!ATTLIST fields validSubLocales CDATA #IMPLIED > 
    552591 
    553 <!ELEMENT field ( alias | (displayName?, relative*, special*)) > 
     592<!ELEMENT field ( alias | (displayName*, relative*, special*)) > 
    554593<!ATTLIST field type ( era | year | month | week | day | weekday | dayperiod | hour | minute | second | zone ) #IMPLIED > 
    555594<!ATTLIST field draft ( true | false ) #IMPLIED > 
     
    561600<!ELEMENT relative (#PCDATA) > 
    562601<!ATTLIST relative type NMTOKEN #IMPLIED > 
     602<!ATTLIST relative draft ( true | false ) #IMPLIED > 
     603<!ATTLIST relative references CDATA #IMPLIED > 
     604<!ATTLIST relative alt CDATA #IMPLIED > 
     605<!ATTLIST relative validSubLocales CDATA #IMPLIED > 
    563606 
    564607<!-- ######################################################### --> 
     
    574617<!ATTLIST numbers validSubLocales CDATA #IMPLIED > 
    575618 
    576 <!ELEMENT symbols (alias | (decimal?, group?, list?, percentSign?, nativeZeroDigit?, patternDigit?, plusSign?, minusSign?, exponential?, perMille?, infinity?, nan?, special*)) > 
     619<!ELEMENT symbols (alias | (decimal*, group*, list*, percentSign*, nativeZeroDigit*, patternDigit*, plusSign*, minusSign*, exponential*, perMille*, infinity*, nan*, special*)) > 
    577620<!ATTLIST symbols draft ( true | false ) #IMPLIED > 
    578621<!ATTLIST symbols standard CDATA #IMPLIED > 
     
    583626<!ELEMENT decimal ( #PCDATA ) > 
    584627<!ATTLIST decimal references CDATA #IMPLIED > 
     628<!ATTLIST decimal draft ( true | false ) #IMPLIED > 
    585629<!ATTLIST decimal alt CDATA #IMPLIED > 
    586630 
    587631<!ELEMENT group ( #PCDATA ) > 
    588632<!ATTLIST group references CDATA #IMPLIED > 
     633<!ATTLIST group draft ( true | false ) #IMPLIED > 
    589634<!ATTLIST group alt CDATA #IMPLIED > 
    590635 
    591636<!ELEMENT list ( #PCDATA ) > 
    592637<!ATTLIST list references CDATA #IMPLIED > 
     638<!ATTLIST list draft ( true | false ) #IMPLIED > 
    593639<!ATTLIST list alt CDATA #IMPLIED > 
    594640 
    595641<!ELEMENT percentSign ( #PCDATA ) > 
    596642<!ATTLIST percentSign references CDATA #IMPLIED > 
     643<!ATTLIST percentSign draft ( true | false ) #IMPLIED > 
    597644<!ATTLIST percentSign alt CDATA #IMPLIED > 
    598645 
    599646<!ELEMENT nativeZeroDigit ( #PCDATA ) > 
    600647<!ATTLIST nativeZeroDigit references CDATA #IMPLIED > 
     648<!ATTLIST nativeZeroDigit draft ( true | false ) #IMPLIED > 
    601649<!ATTLIST nativeZeroDigit alt CDATA #IMPLIED > 
    602650 
    603651<!ELEMENT patternDigit ( #PCDATA ) > 
    604652<!ATTLIST patternDigit references CDATA #IMPLIED > 
     653<!ATTLIST patternDigit draft ( true | false ) #IMPLIED > 
    605654<!ATTLIST patternDigit alt CDATA #IMPLIED > 
    606655 
    607656<!ELEMENT plusSign ( #PCDATA ) > 
    608657<!ATTLIST plusSign references CDATA #IMPLIED > 
     658<!ATTLIST plusSign draft ( true | false ) #IMPLIED > 
    609659<!ATTLIST plusSign alt CDATA #IMPLIED > 
    610660 
    611661<!ELEMENT minusSign ( #PCDATA ) > 
    612662<!ATTLIST minusSign references CDATA #IMPLIED > 
     663<!ATTLIST minusSign draft ( true | false ) #IMPLIED > 
    613664<!ATTLIST minusSign alt CDATA #IMPLIED > 
    614665 
    615666<!ELEMENT exponential ( #PCDATA ) > 
    616667<!ATTLIST exponential references CDATA #IMPLIED > 
     668<!ATTLIST exponential draft ( true | false ) #IMPLIED > 
    617669<!ATTLIST exponential alt CDATA #IMPLIED > 
    618670 
    619671<!ELEMENT perMille ( #PCDATA ) > 
    620672<!ATTLIST perMille references CDATA #IMPLIED > 
     673<!ATTLIST perMille draft ( true | false ) #IMPLIED > 
    621674<!ATTLIST perMille alt CDATA #IMPLIED > 
    622675 
    623676<!ELEMENT infinity ( #PCDATA ) > 
    624677<!ATTLIST infinity references CDATA #IMPLIED > 
     678<!ATTLIST infinity draft ( true | false ) #IMPLIED > 
    625679<!ATTLIST infinity alt CDATA #IMPLIED > 
    626680 
    627681<!ELEMENT nan ( #PCDATA ) > 
    628682<!ATTLIST nan references CDATA #IMPLIED > 
     683<!ATTLIST nan draft ( true | false ) #IMPLIED > 
    629684<!ATTLIST nan alt CDATA #IMPLIED > 
    630685 
     
    635690<!ATTLIST pattern alt CDATA #IMPLIED > 
    636691 
    637 <!ELEMENT decimalFormats (alias | (default?, decimalFormatLength*, special*)) > 
     692<!ELEMENT decimalFormats (alias | (default*, decimalFormatLength*, special*)) > 
    638693<!ATTLIST decimalFormats draft ( true | false ) #IMPLIED > 
    639694<!ATTLIST decimalFormats validSubLocales CDATA #IMPLIED > 
    640695 
    641 <!ELEMENT decimalFormatLength (alias | (default?, decimalFormat*, special*)) > 
     696<!ELEMENT decimalFormatLength (alias | (default*, decimalFormat*, special*)) > 
    642697<!ATTLIST decimalFormatLength type ( full | long | medium | short ) #IMPLIED > 
    643698<!ATTLIST decimalFormatLength draft ( true | false ) #IMPLIED > 
     
    655710<!ATTLIST decimalFormat validSubLocales CDATA #IMPLIED > 
    656711 
    657 <!ELEMENT scientificFormats (alias | (default?, scientificFormatLength*, special*)) > 
     712<!ELEMENT scientificFormats (alias | (default*, scientificFormatLength*, special*)) > 
    658713<!ATTLIST scientificFormats draft ( true | false ) #IMPLIED > 
    659714<!ATTLIST scientificFormats validSubLocales CDATA #IMPLIED > 
    660715 
    661 <!ELEMENT scientificFormatLength (alias | (default?, scientificFormat*, special*)) > 
     716<!ELEMENT scientificFormatLength (alias | (default*, scientificFormat*, special*)) > 
    662717<!ATTLIST scientificFormatLength type ( full | long | medium | short ) #IMPLIED > 
    663718<!ATTLIST scientificFormatLength draft ( true | false ) #IMPLIED > 
     
    675730<!ATTLIST scientificFormat validSubLocales CDATA #IMPLIED > 
    676731 
    677 <!ELEMENT percentFormats (alias | (default?, percentFormatLength*, special*)) > 
     732<!ELEMENT percentFormats (alias | (default*, percentFormatLength*, special*)) > 
    678733<!ATTLIST percentFormats draft ( true | false ) #IMPLIED > 
    679734<!ATTLIST percentFormats validSubLocales CDATA #IMPLIED > 
    680735 
    681 <!ELEMENT percentFormatLength (alias | (default?, percentFormat*, special*)) > 
     736<!ELEMENT percentFormatLength (alias | (default*, percentFormat*, special*)) > 
    682737<!ATTLIST percentFormatLength type ( full | long | medium | short ) #IMPLIED > 
    683738<!ATTLIST percentFormatLength draft ( true | false ) #IMPLIED > 
     
    695750<!ATTLIST percentFormat validSubLocales CDATA #IMPLIED > 
    696751 
    697 <!ELEMENT currencyFormats (alias | (default?, currencyFormatLength*, special*)) > 
     752<!ELEMENT currencyFormats (alias | (default*, currencySpacing*, currencyFormatLength*, special*)) > 
    698753<!ATTLIST currencyFormats draft ( true | false ) #IMPLIED > 
    699754<!ATTLIST currencyFormats validSubLocales CDATA #IMPLIED > 
    700755 
    701 <!ELEMENT currencyFormatLength (alias | (default?, currencyFormat*, special*)) > 
     756<!ELEMENT currencySpacing (alias | (beforeCurrency*, afterCurrency*, special*)) > 
     757<!ELEMENT beforeCurrency (alias | (currencyMatch*, surroundingMatch*, insertBetween*)) > 
     758<!ELEMENT afterCurrency (alias | (currencyMatch*, surroundingMatch*, insertBetween*)) > 
     759 
     760<!ELEMENT surroundingMatch ( #PCDATA ) > 
     761<!ATTLIST surroundingMatch draft ( true | false ) #IMPLIED > 
     762<!ATTLIST surroundingMatch alt CDATA #IMPLIED > 
     763<!ATTLIST surroundingMatch references CDATA #IMPLIED > 
     764 
     765<!ELEMENT currencyMatch ( #PCDATA ) > 
     766<!ATTLIST currencyMatch draft ( true | false ) #IMPLIED > 
     767<!ATTLIST currencyMatch alt CDATA #IMPLIED > 
     768<!ATTLIST currencyMatch references CDATA #IMPLIED > 
     769 
     770<!ELEMENT insertBetween ( #PCDATA ) > 
     771<!ATTLIST insertBetween draft ( true | false ) #IMPLIED > 
     772<!ATTLIST insertBetween alt CDATA #IMPLIED > 
     773<!ATTLIST insertBetween references CDATA #IMPLIED > 
     774 
     775<!ELEMENT currencyFormatLength (alias | (default*, currencyFormat*, special*)) > 
    702776<!ATTLIST currencyFormatLength type ( full | long | medium | short ) #IMPLIED > 
    703777<!ATTLIST currencyFormatLength draft ( true | false ) #IMPLIED > 
     
    719793<!ATTLIST currencies validSubLocales CDATA #IMPLIED > 
    720794 
    721 <!ELEMENT currency (alias | (pattern*, displayName?, symbol?, pattern*, decimal?, group?, special*)) > 
     795<!ELEMENT currency (alias | (pattern*, displayName*, symbol*, pattern*, decimal*, group*, special*)) > 
     796<!-- warning: pattern appears twice in the above. The first is for consistency with all other cases of 
     797        pattern + displayName; the second is for backwards compatibility --> 
    722798<!ATTLIST currency type NMTOKEN "standard" > 
    723799<!ATTLIST currency draft ( true | false ) #IMPLIED > 
     
    735811<!-- ######################################################### --> 
    736812 
    737 <!ELEMENT collations (alias | (default?, collation*, special*)) > 
     813<!ELEMENT collations (alias | (default*, collation*, special*)) > 
    738814<!ATTLIST collations version NMTOKEN #IMPLIED > 
    739815<!ATTLIST collations draft ( true | false ) #IMPLIED > 
     
    810886<!ELEMENT posix (alias | (messages*, special*)) > 
    811887<!ATTLIST posix draft ( true | false ) #IMPLIED > 
    812  
    813 <!ELEMENT messages (alias | ( yesstr?, nostr?, yesexpr?, noexpr?)) > 
     888<!ATTLIST posix references CDATA #IMPLIED > 
     889<!ATTLIST posix validSubLocales CDATA #IMPLIED > 
     890 
     891<!ELEMENT messages (alias | ( yesstr*, nostr*, yesexpr*, noexpr*)) > 
     892<!ATTLIST messages draft ( true | false ) #IMPLIED > 
     893<!ATTLIST messages references CDATA #IMPLIED > 
     894<!ATTLIST messages alt CDATA #IMPLIED > 
     895<!ATTLIST messages validSubLocales CDATA #IMPLIED > 
    814896 
    815897<!ELEMENT yesstr ( #PCDATA ) > 
     898<!ATTLIST yesstr draft ( true | false ) #IMPLIED > 
     899<!ATTLIST yesstr references CDATA #IMPLIED > 
     900<!ATTLIST yesstr alt CDATA #IMPLIED > 
    816901 
    817902<!ELEMENT nostr ( #PCDATA ) > 
     903<!ATTLIST nostr draft ( true | false ) #IMPLIED > 
     904<!ATTLIST nostr references CDATA #IMPLIED > 
     905<!ATTLIST nostr alt CDATA #IMPLIED > 
    818906 
    819907<!ELEMENT yesexpr ( #PCDATA ) > 
     908<!ATTLIST yesexpr draft ( true | false ) #IMPLIED > 
     909<!ATTLIST yesexpr references CDATA #IMPLIED > 
     910<!ATTLIST yesexpr alt CDATA #IMPLIED > 
    820911 
    821912<!ELEMENT noexpr ( #PCDATA ) > 
    822  
    823  
    824  
    825  
    826  
    827  
    828  
    829  
    830  
     913<!ATTLIST noexpr draft ( true | false ) #IMPLIED > 
     914<!ATTLIST noexpr references CDATA #IMPLIED > 
     915<!ATTLIST noexpr alt CDATA #IMPLIED > 
     916 
     917<!ELEMENT references ( reference* ) > 
     918<!ELEMENT reference ( #PCDATA ) > 
     919<!ATTLIST reference type NMTOKEN #REQUIRED> 
     920<!ATTLIST reference standard ( true | false ) #IMPLIED > 
     921<!ATTLIST reference uri CDATA #IMPLIED > 
  • tags/release-1-3/common/dtd/ldmlSupplemental.dtd

    r11665 r11665  
    11<!-- 
     2Copyright © 2003-2005 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. 
    23 
    3     Copyright (c) 2002-2003 International Business Machines Corporation and others. All rights reserved. 
     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. 
    45 
    5     Permission is hereby granted, free of charge, to any person obtaining a copy of the LDML format and associated documentation files (the "Format"), to deal in the Format without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Format, and to permit persons to whom the Format is furnished to do so, provided that both the above copyright notice(s) and this permission notice appear in supporting documentation. 
     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. 
    67 
    7     THE FORMAT IS 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 THIS FORMAT. 
     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. 
    89 
    9     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 this Format without prior written authorization of the copyright holder. 
    10  
    11     All trademarks and registered trademarks mentioned herein are the property of their respective owners. 
     10    $Revision: 1.18 $ 
     11    $Date: 2005-05-25 08:40:36 $ 
    1212--> 
    1313 
    14 <!ELEMENT supplementalData ( currencyData ) > 
     14<!ELEMENT supplementalData ( version?, generation?, currencyData?, territoryContainment?, languageData?, timezoneData, characters?, metadata? ) > 
     15<!ATTLIST supplementalData version CDATA #FIXED "1.3" > 
    1516 
    16 <!ATTLIST supplementalData version CDATA #FIXED "1.0" > 
     17<!ELEMENT version ( #PCDATA ) > 
     18<!ATTLIST version number CDATA #REQUIRED > 
     19 
     20<!ELEMENT generation EMPTY > 
     21<!ATTLIST generation date CDATA #REQUIRED > 
    1722 
    1823<!ELEMENT currencyData ( fractions*, region+ ) > 
     24<!ATTLIST currencyData draft ( true | false ) #IMPLIED > 
     25 
    1926<!ELEMENT fractions ( info+ ) > 
     27<!ATTLIST fractions draft ( true | false ) #IMPLIED > 
    2028 
    2129<!ELEMENT info EMPTY > 
     
    2331<!ATTLIST info digits NMTOKEN #IMPLIED > 
    2432<!ATTLIST info rounding NMTOKEN #IMPLIED > 
     33<!ATTLIST info draft ( true | false ) #IMPLIED > 
    2534 
    2635<!ELEMENT region ( currency* ) > 
    2736<!ATTLIST region iso3166 NMTOKEN #REQUIRED > 
     37<!ATTLIST region draft ( true | false ) #IMPLIED > 
    2838 
    2939<!ELEMENT currency ( alternate* ) > 
    30 <!ATTLIST currency before NMTOKEN #IMPLIED > 
     40<!ATTLIST currency before NMTOKEN #IMPLIED > <!-- This usage is deprecated. Use from and to. --> 
     41<!ATTLIST currency from NMTOKEN #IMPLIED > 
     42<!ATTLIST currency to NMTOKEN #IMPLIED > 
    3143<!ATTLIST currency iso4217 NMTOKEN #REQUIRED > 
     44<!ATTLIST currency draft ( true | false ) #IMPLIED > 
    3245 
    33 <!ELEMENT alternate EMPTY > 
     46<!ELEMENT alternate EMPTY > <!-- This usage is deprecated. Use from and to. --> 
    3447<!ATTLIST alternate iso4217 NMTOKEN #REQUIRED > 
    3548 
     49<!ELEMENT territoryContainment ( group* ) > 
     50<!ELEMENT group EMPTY > 
     51<!ATTLIST group type NMTOKEN #REQUIRED > 
     52<!ATTLIST group contains NMTOKENS #IMPLIED > 
     53<!ATTLIST group draft ( true | false ) #IMPLIED > 
     54 
     55<!ELEMENT languageData ( language* ) > 
     56<!ELEMENT language EMPTY > 
     57<!ATTLIST language type NMTOKEN #REQUIRED > 
     58<!ATTLIST language scripts NMTOKENS #IMPLIED > 
     59<!ATTLIST language territories NMTOKENS #IMPLIED > 
     60<!ATTLIST language variants NMTOKENS #IMPLIED > 
     61<!ATTLIST language draft ( true | false ) #IMPLIED > 
     62<!ATTLIST language alt NMTOKENS #IMPLIED > 
     63 
     64<!ELEMENT timezoneData ( mapTimezones* ) > 
     65<!ELEMENT mapTimezones ( mapZone* ) > 
     66<!ATTLIST mapTimezones type NMTOKEN #REQUIRED > 
     67<!ELEMENT mapZone EMPTY > 
     68<!ATTLIST mapZone type CDATA #REQUIRED > 
     69<!ATTLIST mapZone other CDATA #REQUIRED > 
     70 
     71<!ELEMENT characters ( character-fallback*) > 
     72<!ATTLIST characters draft ( true | false ) #IMPLIED > 
     73<!ELEMENT character-fallback ( character* ) > 
     74<!ELEMENT character (substitute*) > 
     75<!ATTLIST character value CDATA #REQUIRED > 
     76<!ATTLIST character draft ( true | false ) #IMPLIED > 
     77<!ATTLIST character standard CDATA #IMPLIED > 
     78<!ATTLIST character references CDATA #IMPLIED > 
     79<!ATTLIST character alt CDATA #IMPLIED > 
     80<!ELEMENT substitute (#PCDATA) > 
     81<!ATTLIST substitute draft ( true | false ) #IMPLIED > 
     82<!ATTLIST substitute standard CDATA #IMPLIED > 
     83<!ATTLIST substitute references CDATA #IMPLIED > 
     84<!ATTLIST substitute alt CDATA #IMPLIED > 
     85 
     86<!ELEMENT metadata (  alias?, deprecated? ) > 
     87<!ATTLIST metadata draft ( true | false ) #IMPLIED > 
     88 
     89<!ELEMENT alias ( languageAlias*,  scriptAlias*, territoryAlias*, variantAlias* ) > 
     90<!ATTLIST alias draft ( true | false ) #IMPLIED > 
     91 
     92<!ELEMENT languageAlias EMPTY > 
     93<!ATTLIST languageAlias type NMTOKEN #IMPLIED > 
     94<!ATTLIST languageAlias replacement NMTOKEN #IMPLIED > 
     95 
     96<!ELEMENT scriptAlias EMPTY > 
     97<!ATTLIST scriptAlias type NMTOKEN #IMPLIED > 
     98<!ATTLIST scriptAlias replacement NMTOKEN #IMPLIED > 
     99 
     100<!ELEMENT territoryAlias EMPTY > 
     101<!ATTLIST territoryAlias type NMTOKEN #IMPLIED > 
     102<!ATTLIST territoryAlias replacement NMTOKEN #IMPLIED > 
     103 
     104<!ELEMENT variantAlias EMPTY > 
     105<!ATTLIST variantAlias type NMTOKEN #IMPLIED > 
     106<!ATTLIST variantAlias replacement NMTOKEN #IMPLIED > 
     107 
     108<!ELEMENT deprecated ( deprecatedItems* ) > 
     109<!ATTLIST deprecated draft ( true | false ) #IMPLIED > 
     110 
     111<!ELEMENT deprecatedItems EMPTY > 
     112<!ATTLIST deprecatedItems draft ( true | false ) #IMPLIED > 
     113<!ATTLIST deprecatedItems type ( standard | supplemental ) #IMPLIED > 
     114<!ATTLIST deprecatedItems elements NMTOKENS #IMPLIED > 
     115<!ATTLIST deprecatedItems attributes NMTOKENS #IMPLIED > 
     116<!ATTLIST deprecatedItems values CDATA #IMPLIED > 
     117 
Note: See TracChangeset for help on using the changeset viewer.