RelaxNG/publidoc.rng
changeset 39 7faa356bad3e
parent 38 3c8b406be906
child 40 7cfe2d4957c6
--- a/RelaxNG/publidoc.rng	mer. juil. 20 14:38:48 2011 +0200
+++ b/RelaxNG/publidoc.rng	mer. juil. 20 15:05:37 2011 +0200
@@ -135,6 +135,9 @@
       <optional>
         <ref name="language"/>
       </optional>
+      <optional>
+        <ref name="copyright"/>
+      </optional>
       <zeroOrMore>
         <ref name="author"/>
       </zeroOrMore>
@@ -276,6 +279,15 @@
       <data type="language"/>
     </attribute>
   </define>
+  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ copyright ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+  <define name="copyright">
+    <element name="copyright">
+      <ref name="copyright.content"/>
+    </element>
+  </define>
+  <define name="copyright.content">
+    <ref name="inlines"/>
+  </define>
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ author, publisher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- ~~~~~~ author -->
   <define name="author">
@@ -923,15 +935,6 @@
       <ref name="copyright"/>
     </optional>
   </define>
-  <!-- ~~~~~~ copyright -->
-  <define name="copyright">
-    <element name="copyright">
-      <ref name="copyright.content"/>
-    </element>
-  </define>
-  <define name="copyright.content">
-    <ref name="inlines"/>
-  </define>
   <!--
     =============================================================================
                                     INLINE LEVEL