Skip to content

Commit f35be27

Browse files
authored
Relax <reference> tag DTD (#122)
DocBook 5.1 and 5.2 allow "Zero or more of" <refentry>, whereas DocBook 5.0 and below required "One or more of" <refentry> cf. https://tdg.docbook.org/tdg/5.2/reference
1 parent 946f15d commit f35be27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docbook/docbook-xml/docbook.dtd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@
27372737

27382738
>
27392739

2740-
<!ELEMENT reference (((title|titleabbrev|subtitle)*, info?), partintro?, (refentry)+)>
2740+
<!ELEMENT reference (((title|titleabbrev|subtitle)*, info?), partintro?, (refentry)*)>
27412741

27422742
<!ATTLIST reference
27432743
xmlns CDATA #FIXED "http://docbook.org/ns/docbook"

0 commit comments

Comments
 (0)