I am attempting to 'port' SEnumVal.cpp to XML::Xerces.

this is a far as i have gotten, and i am getting a error already.

#!/usr/bin/perl -w

use strict;
use XML::Xerces;
use Getopt::Long;
use vars qw($opt_v $opt_n);

my $USAGE = <<EOU;
USAGE: $0 xmlfilename
    
EOU

die $USAGE unless scalar @ARGV;

my $xmlfile = $ARGV[0];
-f $xmlfile  or die "File '$xmlfile' doesnt exist!\n";

my $sax = XML::Xerces::SAXParser->new();
my $handler = XML::Xerces::PerlErrorHandler->new();

$sax->setValidationSchema($XML::Xerces::SAX2XMLReader::Val_Always);


here's the error:

bash-2.04$ ./SEnumval.pl
../../Compile/XML-Xerces-1.6.0_0/samples/personal-schema.xml
Can't locate auto/XML/Xerces/SAXParser/setValidati.al in @INC (@INC
contains: /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
./SEnumval.pl line 21
bash-2.04$ 

any suggestions?

tnx!

johnu


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

Reply via email to