in reply to Re^2: What does this comment mean (Are DTDs of any use to XML::Parser?)
in thread What does this comment mean (Are DTDs of any use to XML::Parser?)

As I said, they would use an *existing* validator.

my $dtd = XML::LibXML::Dtd->new(...); $doc->validate($dtd);

Less code means less to maintain. It also means you can use a faster, tested solution (such as the C++ library libxml2 used by XML::LibXML).

  • Comment on Re^3: What does this comment mean (Are DTDs of any use to XML::Parser?)
  • Download Code