[mdoc-validate] Allow <format/> to have ANY content.
authorJonathan Pryor <jonpryor@vt.edu>
Thu, 8 Aug 2013 20:34:24 +0000 (16:34 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Thu, 8 Aug 2013 20:35:51 +0000 (16:35 -0400)
The intent of the <format/> element is to assist encapsulating
arbitrary HTML content within an mdoc(5) container. This frequently
requires having more than _one_ element within the <format/> block.

(WTF was I thinking forgetting the maxOccurs attribute?!)

mcs/tools/mdoc/Resources/monodoc-ecma.xsd

index fe14e2cdd26fcb7ab185b717742cb1be4ed096b3..7755b2c6e863ab5463f0c3f86e9c78ad44f0869b 100644 (file)
@@ -351,7 +351,7 @@ add masterdoc support?
   <xs:element name="format">
     <xs:complexType>
       <xs:sequence>
-        <xs:any minOccurs="0" processContents="lax" />
+        <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
       </xs:sequence>
       <xs:attribute ref="type" />
     </xs:complexType>