[runtime] Disable some tests in full-aot mode which cannot be AOTed because of type...
[mono.git] / mcs / tools / mdoc / Resources / monodoc-ecma.xsd
index dc3971b0c6b04984f8a0177104db4a9ab95e2700..b0a64a14dce58844270330209532d457d516f112 100644 (file)
@@ -12,11 +12,16 @@ add masterdoc support?
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
 
   <!-- define attributes -->
+  <xs:attribute name="preserve-mono" type="xs:string" />
+  <xs:attribute name="license" type="xs:string" />
+  <xs:attribute name="from" type="xs:string" />
+  <xs:attribute name="modified" type="xs:boolean" />
   <xs:attribute name="argnames" type="xs:string" />
   <xs:attribute name="cref" type="xs:string" />
   <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 +43,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" />
@@ -264,10 +270,33 @@ add masterdoc support?
         <xs:element ref="threadsafe" />
         <xs:element ref="typeparam" />
         <xs:element ref="filterpriority" />
+        <xs:element ref="related" />
       </xs:choice>
     </xs:complexType>
   </xs:element>
 
+  <xs:simpleType name="relatedType">
+    <xs:restriction base="xs:string">
+      <!-- External code/application samples -->
+      <xs:enumeration value="sample"/>
+      <!-- e.g. ECMA, OPC, OData, ... specs -->
+      <xs:enumeration value="specification"/>
+      <!-- e.g. Apple/Android documentation -->
+      <xs:enumeration value="externalDocumentation" />
+      <!-- e.g. a more in-depth article at docs.xamarin.com -->
+      <xs:enumeration value="article" />
+         <!-- e.g. a small article describing succintly a feature -->
+         <xs:enumeration value="recipe" />
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:element name="related">
+    <xs:complexType mixed="true">
+      <xs:attribute name="type" type="relatedType" />
+      <xs:attribute name="href" type="xs:anyURI" />
+    </xs:complexType>
+  </xs:element>
+
   <xs:element name="enum">
     <xs:complexType>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
@@ -305,6 +334,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" />
@@ -325,7 +355,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>
@@ -488,6 +518,7 @@ add masterdoc support?
     <xs:complexType mixed="true">
       <xs:choice minOccurs="0" maxOccurs="unbounded">
         <xs:element ref="block" />
+        <xs:element ref="i" />
         <xs:element ref="format" />
         <xs:element ref="see" />
         <xs:element ref="geq" />
@@ -508,10 +539,20 @@ add masterdoc support?
         <xs:element ref="theta" />
         <xs:element ref="typeparamref" />
         <xs:element ref="whitespace" />
+        <xs:element ref="img" />
       </xs:choice>
+      <xs:attribute ref="id" />
+      <xs:attribute ref="tool" />
     </xs:complexType>
   </xs:element>
 
+  <xs:element name="img">
+       <xs:complexType>
+         <xs:attribute name="href" type="xs:string" use="required" />
+         <xs:attribute name="class" type="xs:string" use="optional" />
+       </xs:complexType>
+  </xs:element>
+
   <xs:element name="param">
     <xs:complexType mixed="true">
       <xs:choice minOccurs="0" maxOccurs="unbounded">
@@ -527,7 +568,9 @@ add masterdoc support?
         <xs:element ref="SPAN" />
         <xs:element ref="typeparamref" />
         <xs:element ref="whitespace" />
+        <xs:element ref="attribution" />
       </xs:choice>
+      <xs:attribute ref="preserve-mono" />
       <xs:attribute ref="name" use="required" />
     </xs:complexType>
   </xs:element>
@@ -596,13 +639,24 @@ add masterdoc support?
         <xs:element ref="list" />
         <xs:element ref="SPAN" />
         <xs:element ref="typeparamref" />
+        <xs:element ref="attribution" />
       </xs:choice>
+      <xs:attribute ref="preserve-mono" />
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="attribution">
+    <xs:complexType mixed="true">
+      <xs:attribute ref="license" />
+      <xs:attribute ref="from" />
+      <xs:attribute ref="modified" />
     </xs:complexType>
   </xs:element>
 
   <xs:element name="returns">
     <xs:complexType mixed="true">
       <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <xs:element ref="c" />
         <xs:element ref="format" />
         <xs:element ref="geq" />
         <xs:element ref="leq" />
@@ -615,7 +669,9 @@ add masterdoc support?
         <xs:element ref="typeparamref" />
         <xs:element ref="ul" />
         <xs:element ref="whitespace" />
+        <xs:element ref="attribution" />
       </xs:choice>
+      <xs:attribute ref="preserve-mono" />
     </xs:complexType>
   </xs:element>
 
@@ -700,7 +756,9 @@ add masterdoc support?
         <xs:element ref="typeparamref" />
         <xs:element ref="ul" />
         <xs:element ref="list" />
+        <xs:element ref="attribution" />
       </xs:choice>
+      <xs:attribute ref="preserve-mono" />
     </xs:complexType>
   </xs:element>
 
@@ -1078,7 +1136,7 @@ add masterdoc support?
         </xs:element>
         <xs:element name="members">
           <xs:complexType>
-            <xs:choice minOccurs="0" maxOccurs="unbounded">>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
               <xs:element name="member">
                 <xs:complexType>
                   <xs:choice minOccurs="0" maxOccurs="unbounded">
@@ -1095,7 +1153,7 @@ add masterdoc support?
                     <xs:element ref="typeparam" />
                     <xs:element ref="value" />
                   </xs:choice>
-                  <xs:attribute name="name" type="xs:type" />
+                  <xs:attribute name="name" type="xs:string" />
                 </xs:complexType>
               </xs:element>
             </xs:choice>