1<!--
2   Licensed to the Apache Software Foundation (ASF) under one or more
3   contributor license agreements.  See the NOTICE file distributed with
4   this work for additional information regarding copyright ownership.
5   The ASF licenses this file to You under the Apache License, Version 2.0
6   (the "License"); you may not use this file except in compliance with
7   the License.  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16-->
17<!ENTITY % plistObject "(array | data | date | dict | real | integer | string | true | false )" >
18<!ELEMENT plist %plistObject;>
19<!ATTLIST plist version CDATA "1.0" >
20
21<!-- Collections -->
22<!ELEMENT array (%plistObject;)*>
23<!ELEMENT dict (key, %plistObject;)*>
24<!ELEMENT key (#PCDATA)>
25
26<!--- Primitive types -->
27<!ELEMENT string (#PCDATA)>
28<!ELEMENT data (#PCDATA)> <!-- Contents interpreted as Base-64 encoded -->
29<!ELEMENT date (#PCDATA)> <!-- Contents should conform to a subset of ISO 8601 (in particular, YYYY '-' MM '-' DD 'T' HH ':' MM ':' SS 'Z'.  Smaller units may be omitted with a loss of precision) -->
30
31<!-- Numerical primitives -->
32<!ELEMENT true EMPTY>  <!-- Boolean constant true -->
33<!ELEMENT false EMPTY> <!-- Boolean constant false -->
34<!ELEMENT real (#PCDATA)> <!-- Contents should represent a floating point number matching ("+" | "-")? d+ ("."d*)? ("E" ("+" | "-") d+)? where d is a digit 0-9.  -->
35<!ELEMENT integer (#PCDATA)> <!-- Contents should represent a (possibly signed) integer number in base 10 -->
36