Here's one that is probably so easy that I'll turn bright
red when it's explained to me..

Why doesn't the following varf visibly when I feed it
non-XML stuff?  (Not to mention not validating real XML..)

use HTML::Entities;
use XML::Xerces;
use XML::Xerces::DOMParse;

foreach $file (@ARGV) {
    my($parser, $doc);
    $parser = XML::Xerces::DOMParser->new();
    $parser->setDoValidation(1);
    $parser->parse(XML::Xerces::LocalFileInputSource->new($file));
}
-- 
#ken    P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

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

Reply via email to