You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2004/06/20 10:23:45 UTC

Re: DTD Validation

Hi Lucas,

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

"Lucas Mbiwe" <le...@gmx.net> 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.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org