and get an error message that the schema is error could someone tell why this validation is end with error and if i need to revisit my code for this validation to end with success?my $schema = XML::LibXML::Schema->new(location =>$xsd); my $parser = XML::LibXML->new; my $doc = $parser->parse_file($xml); eval { $schema->validate( $doc ) }; if ( my $ex = $@ ) { return $ex; } return; }
In reply to validating xml with perl by Johnd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |