summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2015-06-24 16:01:21 +0300
committerVille Skyttä <ville.skytta@iki.fi>2015-06-24 16:05:08 +0300
commit1ff88e84c45cc645cf4de8fa63df6a57b7bebeac (patch)
tree8d9018aa4289704a6e2754157f6fabbe718c50e1
parent0b1da3cf8671f35de7562cfa7235d87097e6f81d (diff)
downloadshared-mime-info-1ff88e84c45cc645cf4de8fa63df6a57b7bebeac.tar.gz
DTD: Add icon
http://standards.freedesktop.org/shared-mime-info-spec/0.18/ar01s02.html#idm139750563085760
-rw-r--r--freedesktop.org.xml.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index b98bb009..84f5802d 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -3,7 +3,7 @@
<!ELEMENT mime-info (mime-type)+>
<!ATTLIST mime-info xmlns CDATA #FIXED "http://www.freedesktop.org/standards/shared-mime-info">
- <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
+ <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (icon? | generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
<!ATTLIST mime-type type CDATA #REQUIRED>
<!-- a comment describing a document with the respective MIME type. Example: "WMV video" -->
@@ -18,6 +18,9 @@
<!ELEMENT expanded-acronym (#PCDATA)>
<!ATTLIST expanded-acronym xml:lang CDATA #IMPLIED>
+ <!ELEMENT icon EMPTY>
+ <!ATTLIST icon name CDATA #REQUIRED>
+
<!-- a generic icon name as per the Icon Naming Specification, only required if computing
it from the mime-type would not work, See "generic-icon" in the Shared Mime Specification -->
<!ELEMENT generic-icon EMPTY>