RelaxNG/publidoc.rng
changeset 3 59e42ac69f8f
parent 2 417bb62f2a77
child 5 69310bc35b63
--- a/RelaxNG/publidoc.rng	dim. juin 05 16:26:16 2011 +0200
+++ b/RelaxNG/publidoc.rng	dim. juin 05 16:40:16 2011 +0200
@@ -417,17 +417,6 @@
       <data type="NMTOKEN"/>
     </attribute>
   </define>
-  <!-- ~~~~~~ caption -->
-  <define name="media.caption">
-    <element name="caption">
-      <ref name="media.caption.content"/>
-    </element>
-  </define>
-  <define name="media.caption.content">
-    <oneOrMore>
-      <ref name="parag"/>
-    </oneOrMore>
-  </define>
   <!-- ~~~~~~ image -->
   <define name="image">
     <element name="image">
@@ -443,6 +432,17 @@
       <ref name="copyright"/>
     </optional>
   </define>
+  <!-- ~~~~~~ caption -->
+  <define name="media.caption">
+    <element name="caption">
+      <ref name="media.caption.content"/>
+    </element>
+  </define>
+  <define name="media.caption.content">
+    <oneOrMore>
+      <ref name="parag"/>
+    </oneOrMore>
+  </define>
   <!-- ~~~~~~ copyright -->
   <define name="copyright">
     <element name="copyright">