[mdoc] Update XSD @id, @tool for docs team.
authorJonathan Pryor <jonpryor@vt.edu>
Thu, 1 Nov 2012 17:59:30 +0000 (13:59 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Thu, 1 Nov 2012 18:01:28 +0000 (14:01 -0400)
Xamarin docs team has requested the following changes to make life
easier and increase tooling support:

//para/@id:
Similar in concept/purpose to the HTML @id attribute.
//para/@tool:
Contains the name of a tool which generated the <para/>.
//exception/list:
Allow lists within <exception/> blocks.

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

index 4529c8a399c14e044d29f0081876982979da26de..fe14e2cdd26fcb7ab185b717742cb1be4ed096b3 100644 (file)
@@ -17,6 +17,7 @@ add masterdoc support?
   <xs:attribute name="Deprecated" type="xs:boolean" />
   <xs:attribute name="FullName" type="xs:string" />
   <xs:attribute name="FullNameSP" type="xs:string" />
+  <xs:attribute name="id" type="xs:string" />
   <xs:attribute name="inherited" type="xs:string" />
   <xs:attribute name="language" type="xs:string" />
   <xs:attribute name="Language" type="xs:string" />
@@ -38,6 +39,7 @@ add masterdoc support?
   <xs:attribute name="subset" type="xs:string" />
   <xs:attribute name="Value" type="xs:string" />
   <xs:attribute name="version" type="xs:string" />
+  <xs:attribute name="tool" type="xs:string" />
   <xs:attribute name="type" type="xs:string" />
   <xs:attribute name="Type" type="xs:string" />
   <xs:attribute name="TypeParamName" type="xs:string" />
@@ -328,6 +330,7 @@ add masterdoc support?
       <xs:choice minOccurs="0" maxOccurs="unbounded">
         <xs:element ref="block" />
         <xs:element ref="format" />
+        <xs:element ref="list" />
         <xs:element ref="para" />
         <xs:element ref="paramref" />
         <xs:element ref="see" />
@@ -534,6 +537,8 @@ add masterdoc support?
         <xs:element ref="whitespace" />
         <xs:element ref="img" />
       </xs:choice>
+      <xs:attribute ref="id" />
+      <xs:attribute ref="tool" />
     </xs:complexType>
   </xs:element>