"John Utz" <[EMAIL PROTECTED]> writes:

> what a goof i am. here is the original copy of the mail that i mistakenly
> sent to xerces-c.
> 
> ---------- Forwarded message ----------
> Date: Fri, 8 Feb 2002 17:55:32 -0800 (PST)
> From: John Utz <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: experimental 1.6 release problem
> 
> hi;
> 
> trying to use the samples described on the samples page blow up.
> 
> bash-2.04$ ./DOMCount.pl DOMCount.pl
> Can't locate auto/XML/Xerces/SAXParser/setDoValida.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
> ./DOMCount.pl line 24
> 
> but using the current samples works great:
> 
> bash-2.04$ perl DOMCount.pl DOMCount.pl 
> FATAL ERROR:
> FILE:    /sfusers/utz/Compile/XML-Xerces-1.6.0_0/samples/DOMCount.pl
> LINE:    1
> COLUMN:  1
> MESSAGE: Invalid document structure
> 
> 
> you might want to change the samples page to reflect the new samples.

Hi John,

I am confused about what you're trying to tell me. 

Is there some documentation that is wrong somewhere?

Why are you attempting to run DOMCount.pl on itself instead of on an
XML file? 

The sample applications don't have a shebang line, because I haven't
felt like adding the logic to substitute it properly during
configuration time. So you have to run them as:

  perl DOMCount.pl input_file

If I've missed something please let me know.
jas.

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

Reply via email to