summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-12-24 09:29:07 (GMT)
committerGitHub <noreply@github.com>2017-12-24 09:29:07 (GMT)
commita20245cfcab4d6ffdf5b92e256017f3cb4c66497 (patch)
tree0fdac8645cd61a48eb57edfb89b37017fa66436c /templates
parentcf15b90dfa540e5ce74ffbc2b961417cd480ce0d (diff)
parentb6a7abf02652b74872b9c676fcfa545e18d9bde7 (diff)
downloadDoxygen-a20245cfcab4d6ffdf5b92e256017f3cb4c66497.zip
Doxygen-a20245cfcab4d6ffdf5b92e256017f3cb4c66497.tar.gz
Doxygen-a20245cfcab4d6ffdf5b92e256017f3cb4c66497.tar.bz2
Merge pull request #623 from mosra/xml-encode-invalid-characters
Encode invalid XML characters instead of skipping them
Diffstat (limited to 'templates')
-rw-r--r--templates/xml/compound.xsd6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd
index 8affc20..efe1481 100644
--- a/templates/xml/compound.xsd
+++ b/templates/xml/compound.xsd
@@ -279,12 +279,16 @@
<xsd:complexType name="highlightType" mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="sp" />
+ <xsd:element name="sp" type="spType" />
<xsd:element name="ref" type="refTextType" />
</xsd:choice>
<xsd:attribute name="class" type="DoxHighlightClass" />
</xsd:complexType>
+ <xsd:complexType name="spType" mixed="true">
+ <xsd:attribute name="value" type="xsd:integer" use="optional"/>
+ </xsd:complexType>
+
<xsd:complexType name="referenceType" mixed="true">
<xsd:attribute name="refid" type="xsd:string" />
<xsd:attribute name="compoundref" type="xsd:string" use="optional" />