--- a/RelaxNG/Examples/Documents/torture_test.xml mar. avril 29 13:50:50 2014 +0200
+++ b/RelaxNG/Examples/Documents/torture_test.xml mar. mai 13 12:59:42 2014 +0200
@@ -783,7 +783,8 @@
</caption>
</media>
<media type="logo">
- <image id="prismallia_logo" type="thumbnail">
+ <image id="prismallia_logo" type="thumbnail"
+ alt="Logo Prismallia">
<?tune target="html" format="svg"?>
</image>
<caption>Le logo de <name>Prismallia</name></caption>
--- a/RelaxNG/publidoc.rnc mar. avril 29 13:50:50 2014 +0200
+++ b/RelaxNG/publidoc.rnc mar. mai 13 12:59:42 2014 +0200
@@ -584,9 +584,12 @@
image.attributes =
media.id.attribute
- & image.type?
+ & image.type.attribute?
+ & alt.attribute?
media.id.attribute = attribute id { xsd:NMTOKEN }
-image.type = attribute type { "cover" | "thumbnail" | "icon" | "animation" }
+image.type.attribute = attribute type {
+ "cover" | "thumbnail" | "icon" | "animation" }
+alt.attribute = attribute alt { text }
media.image.content =
copyright?,