RelaxNG/publidoc.rng
changeset 37 83b7ec3c3132
parent 36 d23cfb7be79e
child 38 3c8b406be906
--- a/RelaxNG/publidoc.rng	mar. juil. 19 13:25:35 2011 +0200
+++ b/RelaxNG/publidoc.rng	mar. juil. 19 18:16:50 2011 +0200
@@ -570,11 +570,11 @@
   </define>
   <define name="section.attributes">
     <optional>
-      <ref name="status.attribute"/>
+      <ref name="section.type.attribute"/>
     </optional>
   </define>
-  <define name="status.attribute">
-    <attribute name="status">
+  <define name="section.type.attribute">
+    <attribute name="type">
       <data type="NCName"/>
     </attribute>
   </define>
@@ -860,7 +860,10 @@
     <choice>
       <ref name="inlines"/>
       <oneOrMore>
-        <ref name="p"/>
+        <choice>
+          <ref name="p"/>
+          <ref name="media"/>
+        </choice>
       </oneOrMore>
     </choice>
   </define>