Skip to content

Commit

Permalink
Relax <reference> tag DTD (#122)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Girgias authored May 14, 2024
1 parent 946f15d commit f35be27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docbook/docbook-xml/docbook.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -2737,7 +2737,7 @@

>

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

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

0 comments on commit f35be27

Please sign in to comment.