| 1 |
Source: libxml-filter-detectws-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Ansgar Burchardt <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper (>= 11) |
| 8 |
Build-Depends-Indep: perl, |
| 9 |
libxml-filter-saxt-perl |
| 10 |
Standards-Version: 4.1.5 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-filter-detectws-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-filter-detectws-perl.git |
| 13 |
Homepage: https://metacpan.org/release/XML-Filter-DetectWS |
| 14 |
|
| 15 |
Package: libxml-filter-detectws-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, |
| 18 |
${perl:Depends}, |
| 19 |
libxml-filter-saxt-perl |
| 20 |
Description: Perl module for detecting ignorable whitespace |
| 21 |
The XML::Filter::DetectWS module is a PerlSAX filter that detects which |
| 22 |
character data contains ignorable whitespace and optionally filters it. |
| 23 |
. |
| 24 |
The XML spec defines ignorable whitespace as the character data found |
| 25 |
in elements that were defined in an <!ELEMENT> declaration with a model |
| 26 |
of 'EMPTY' or 'Children' (Children is the rule that does not contain |
| 27 |
'#PCDATA'). |
| 28 |
. |
| 29 |
In addition, XML::Filter::DetectWS allows the user to define other |
| 30 |
whitespace to be ignorable. The ignorable whitespace is passed to |
| 31 |
the PerlSAX Handler with the ignorable_whitespace handler, provided |
| 32 |
that the Handler implements this method. Otherwise it is passed to |
| 33 |
the characters handler. If the SkipIgnorableWS is set, the ignorable |
| 34 |
whitespace is simply discarded. XML::Filter::DetectWS also takes |
| 35 |
xml:space attributes into account. |
| 36 |
. |
| 37 |
CDATA sections are passed in the standard PerlSAX way (i.e. with |
| 38 |
surrounding start_cdata and end_cdata events), unless the Handler |
| 39 |
does not implement these methods. In that case, the CDATA section is |
| 40 |
simply passed to the characters method. |