File: README.txt

package info (click to toggle)
libxml-checker-perl 0.13-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 564 kB
  • sloc: perl: 1,377; xml: 217; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This directory contains some sample Perl scripts.

- testCheckerParser.pl

  Uses XML::Checker::Parser to parse the file.

- testCheckDOM.pl

  Uses XML::DOM::Parser to build a DOM (no checking is done at parse time) 
  and then uses XML::Checker and the check() methods in XML::DOM to check the 
  XML::DOM::Document

- filterInsignifWS.pl

  Uses XML::Checker to determine which whitespace is insignificant and
  print the filtered document to stdout.

- testValParser.pl
 
  Uses XML::DOM::ValParser to create a DOM (while checking at parse time)

Try the different xml files in the t/ directory to see what errors are 
generated. (I still need to force some of the errors in the xml sample files.)