RelaxNG/publidoc.rnc
changeset 104 2db7cb9721c0
parent 101 3ec3b2eceeb8
child 105 ce5c5b08cb94
--- a/RelaxNG/publidoc.rnc	sam. mai 19 00:38:14 2012 +0200
+++ b/RelaxNG/publidoc.rnc	jeu. mai 24 12:22:55 2012 +0200
@@ -314,8 +314,8 @@
 image = element image { image.attributes, image.content }
 
 image.attributes =
-   media.id.attribute,
-   image.type?
+   media.id.attribute
+ & image.type?
 media.id.attribute = attribute id { xsd:NMTOKEN }
 image.type = attribute type { "cover" | "thumbnail" | "icon" }
 
@@ -327,6 +327,8 @@
 
 audio.attributes =
    media.id.attribute
+ & audio.type?
+audio.type = attribute type { "music" | "voice" | "ambiance" }
 
 
 # =============================================================================