Re: DTD Validation

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Hi Lucas,

I'm sorry that it has taken me this long to reply.

"Lucas Mbiwe" <[email protected]> writes:

> $parser->setValidationScheme($XML::Xerces::XercesDOMParser::Val_Always);

You should have gotten the folling warning:

  Name "XML::Xerces::XercesDOMParser::Val_Always" used only once:
  possible typo at /tmp/test.pl line 10. 

The variable should be in the 'AbstractDOMParser' class:

  $parser->setValidationScheme($XML::Xerces::AbstractDOMParser::Val_Always);

This should work much better.

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.