"B. Haje" <[EMAIL PROTECTED]> writes:

> after finally successfully installing Xerces-Perl (all the
> sample-programs work) I try to run a program which is using
> DOMParse.pm. I know that it worked with an older Xerces-Perl
> version. Just like in the comments of DOMParse.pm I use it like that:
> 
> 
> use XML::Xerces::DOMParse;
> 
> my $parser = XML::Xerces::DOMParser-> new ();
> 
> There it stops with this message:
> 
> "Can't locate object method "new" via package "XML::Xerces::DOMParser"
> (perhaps you forgot to load "XML::XERCES::DOMParser"?) at
> 
> /home/haj/xakte/bin/xaida line 393, <STDIN> line 1,
> 
> I don't know what to do. Have there been changes using the new method?

Hey Bjorn,

Sorry, this looks like a documentation problem. In the Xerces-2 series
there is no DOMParser class anymore, it's now called XercesDOMParser
(or XML::Xerces::XercesDOMParser for the fully qualified name).

Try that,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to