| 1 |
Source: libxml-dtdparser-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: debhelper-compat (= 13) |
| 5 |
Build-Depends-Indep: perl, libdata-compare-perl |
| 6 |
Maintainer: Debian Perl Group <[email protected]> |
| 7 |
Uploaders: gregor herrmann <[email protected]> |
| 8 |
Standards-Version: 4.1.5 |
| 9 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-dtdparser-perl.git |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-dtdparser-perl |
| 11 |
Homepage: https://metacpan.org/release/XML-DTDParser |
| 12 |
Testsuite: autopkgtest-pkg-perl |
| 13 |
|
| 14 |
Package: libxml-dtdparser-perl |
| 15 |
Architecture: all |
| 16 |
Depends: ${misc:Depends}, ${perl:Depends} |
| 17 |
Multi-Arch: foreign |
| 18 |
Description: perl module providing a quick and dirty DTD parser |
| 19 |
XML::DTDParser parses a DTD file and creates a data structure containing info |
| 20 |
about all tags, their allowed parameters, children, parents, optionality etc. |
| 21 |
. |
| 22 |
The module should be able to parse just about anything, but it |
| 23 |
intentionaly looses some information. Eg. if the DTD specifies that a tag |
| 24 |
should contain either CHILD1 or CHILD2 you only get that CHILD1 and CHILD2 |
| 25 |
are optional. That is the DTD contains |
| 26 |
. |
| 27 |
<!ELEMENT FOO (BAR|BAZ)> the result will be the same is if it contained |
| 28 |
. |
| 29 |
<!ELEMENT FOO (BAR?,BAZ?)> |
| 30 |
. |
| 31 |
You get the original unparsed parameter list as well so if you need this |
| 32 |
information you may parse it yourself. |