Re: Help with validating XML (DTD or Schema) with PERL



1234marlon@xxxxxxxxx wrote:
Can someone tell me if a reliable production PERL package was ever
created to handle either W3C DTD or Schema standards? I realize
libxml2 based packages are very good, but I am not willing to tackle
the maintenance required for compiled libxml2 program in our
production environment.

It looks like yur choice is between maintening the dependencies needed
by working Perl modules that use external library, or writing the module
yourself.

If you don't want to maintain a libxml2 environment (why? I don't think
it's that hard to compile), you can have a look at XML::Xerces
(http://search.cpan.org/dist/XML-Xerces/ ) which depends on Xerces (I
have never used it though). I don't think there is any other sane choice.

It appears that no one in the Perl community has had the will, time and
energy to write a complete validating XML parser, prefering instead to
rely on external resources. Whether that's good or bad is debatable. My
take would be that PR-wise it's pretty bad, but practically it makes sense.

--
mirod
.