Source: libxml-dtdparser-perl Section: perl Priority: optional Build-Depends: debhelper (>= 11) Build-Depends-Indep: perl, libdata-compare-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Standards-Version: 4.1.5 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-dtdparser-perl.git Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-dtdparser-perl Homepage: https://metacpan.org/release/XML-DTDParser Testsuite: autopkgtest-pkg-perl Package: libxml-dtdparser-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: perl module providing a quick and dirty DTD parser XML::DTDParser parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality etc. . The module should be able to parse just about anything, but it intentionaly looses some information. Eg. if the DTD specifies that a tag should contain either CHILD1 or CHILD2 you only get that CHILD1 and CHILD2 are optional. That is the DTD contains . the result will be the same is if it contained . . You get the original unparsed parameter list as well so if you need this information you may parse it yourself.