aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2015-10-09 09:19:06 +0200
committerLars Thorsen <[email protected]>2015-11-30 08:42:17 +0100
commit166706fbe4b9c32cd3360addfa4428bc06f78380 (patch)
tree83f0eaa3ce935651b013a4053231fb6218cce426 /lib/erl_docgen
parenta335fc471406252132b9152de2bc901193f90121 (diff)
downloadotp-166706fbe4b9c32cd3360addfa4428bc06f78380.tar.gz
otp-166706fbe4b9c32cd3360addfa4428bc06f78380.tar.bz2
otp-166706fbe4b9c32cd3360addfa4428bc06f78380.zip
[erl_docgen] Correct faults in the dtd
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r--lib/erl_docgen/priv/dtd/common.dtd2
-rw-r--r--lib/erl_docgen/priv/dtd/common.refs.dtd3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/dtd/common.dtd b/lib/erl_docgen/priv/dtd/common.dtd
index 5297b510ab..cfaf3ead3b 100644
--- a/lib/erl_docgen/priv/dtd/common.dtd
+++ b/lib/erl_docgen/priv/dtd/common.dtd
@@ -66,7 +66,7 @@
<!ELEMENT list (item+) >
<!ATTLIST list type (ordered|bulleted) "bulleted" >
<!ELEMENT taglist (tag,item+)+ >
-<!ELEMENT tag (#PCDATA|c|em|seealso|url|marker)* >
+<!ELEMENT tag (#PCDATA|c|em|seealso|url|marker|anno)* >
<!ELEMENT item (%inline;|%block;)* >
<!-- References -->
diff --git a/lib/erl_docgen/priv/dtd/common.refs.dtd b/lib/erl_docgen/priv/dtd/common.refs.dtd
index a59462bb3f..a32c34536d 100644
--- a/lib/erl_docgen/priv/dtd/common.refs.dtd
+++ b/lib/erl_docgen/priv/dtd/common.refs.dtd
@@ -27,11 +27,12 @@
<!ELEMENT description (%block;|quote|br|marker|warning|note|dont|do)* >
<!ELEMENT funcs (func)+ >
-<!ELEMENT func (name+,type_desc*,fsummary,type?,desc?) >
+<!ELEMENT func (name+,type_desc*,fsummary,type*,desc?) >
<!-- ELEMENT name is defined in each ref dtd -->
<!ELEMENT fsummary (#PCDATA|c|em)* >
<!ELEMENT type (v,d?)* >
<!ATTLIST type variable CDATA #IMPLIED
+ name CDATA #IMPLIED
name_i CDATA #IMPLIED>
<!ELEMENT v (#PCDATA|seealso)* >
<!ELEMENT d (#PCDATA|c|em)* >