Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    XML::Validator::Schema 1.10

    Download button

    No screenshots available
    Downloads: 793  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.8/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sam Tregar | More programs
    Perl Artistic License / FREE
    February 3rd, 2008, 16:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::Validator::Schema description

    A Perl module to validate XML against a subset of W3C XML Schema

    XML::Validator::Schema is a Perl module to validate XML against a subset of W3C XML Schema.

    SYNOPSIS

    use XML::SAX::ParserFactory;
    use XML::Validator::Schema;

    #
    # create a new validator object, using foo.xsd
    #
    $validator = XML::Validator::Schema->new(file => 'foo.xsd');

    #
    # create a SAX parser and assign the validator as a Handler
    #
    $parser = XML::SAX::ParserFactory->parser(Handler => $validator);

    #
    # validate foo.xml against foo.xsd
    #
    eval { $parser->parse_uri('foo.xml') };
    die "File failed validation: $@" if $@;


    This module allows you to validate XML documents against a W3C XML Schema. This module does not implement the full W3C XML Schema recommendation (http://www.w3.org/XML/Schema), but a useful subset. See the SCHEMA SUPPORT section below.

    IMPORTANT NOTE: To get line and column numbers in the error messages generated by this module you must install XML::Filter::ExceptionLocator and use XML::SAX::ExpatXS as your SAX parser. This module is much more useful if you can tell where your errors are, so using these modules is highly recommeded!

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    validate XML | W3C XML Schema | Perl module | XML | validate | XML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM