summaryrefslogtreecommitdiffstats
path: root/templates/xml
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-29 11:59:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-29 11:59:33 (GMT)
commit7fc02d88c173a275001a2551285be8f7f979181a (patch)
tree17c267f201b165b36d68db03bc52e5ace1a68ad9 /templates/xml
parenta9f40a48c99af952836a3871e60ff6ca17ecdecf (diff)
downloadDoxygen-7fc02d88c173a275001a2551285be8f7f979181a.zip
Doxygen-7fc02d88c173a275001a2551285be8f7f979181a.tar.gz
Doxygen-7fc02d88c173a275001a2551285be8f7f979181a.tar.bz2
issue #8522 Javadoc: type attribute of ordered lists not preserved (in xml)
The problem was a bit deeper, it was also valid for other output formats. Implemented the `type` and `start` attribute for all relevant output types.
Diffstat (limited to 'templates/xml')
-rw-r--r--templates/xml/compound.xsd12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd
index c128140..f540c8a 100644
--- a/templates/xml/compound.xsd
+++ b/templates/xml/compound.xsd
@@ -512,6 +512,8 @@
<xsd:sequence>
<xsd:element name="listitem" type="docListItemType" maxOccurs="unbounded" />
</xsd:sequence>
+ <xsd:attribute name="type" type="DoxOlType" />
+ <xsd:attribute name="start" type="xsd:integer" />
</xsd:complexType>
<xsd:complexType name="docListItemType">
@@ -967,5 +969,15 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:simpleType name="DoxOlType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="1" />
+ <xsd:enumeration value="a" />
+ <xsd:enumeration value="A" />
+ <xsd:enumeration value="i" />
+ <xsd:enumeration value="I" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
</xsd:schema>