Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.284.346 Times

XML::Checker::Parser 1.02

  Date Added: June 05, 2010  |  Visits: 816

XML::Checker::Parser

Report Broken Link
Printer Friendly Version


Product Homepage
Download (86 downloads)

XML::Checker::Parser is an XML::Parser that validates at parse time. SYNOPSIS use XML::Checker::Parser; my %expat_options = (KeepCDATA => 1, Handlers => [ Unparsed => &my_Unparsed_handler ]); my $parser = new XML::Checker::Parser (%expat_options); eval { local $XML::Checker::FAIL = &my_fail; $parser->parsefile ("fail.xml"); }; if ($@) { # Either XML::Parser (expat) threw an exception or my_fail() died. ... your error handling code here ... } # Throws an exception (with die) when an error is encountered, this # will stop the parsing process. # Dont die if a warning or info message is encountered, just print a message. sub my_fail { my $code = shift; die XML::Checker::error_string ($code, @_) if $code < 200; XML::Checker::print_error ($code, @_); } XML::Checker::Parser extends XML::Parser I hope the example in the SYNOPSIS says it all, just use XML::Checker::Parser as if it were an XML::Parser. See XML::Parser for the supported (expat) options. You can also derive your parser from XML::Checker::Parser instead of from XML::Parser. All you should have to do is replace: package MyParser; @ISA = qw( XML::Parser ); with: package MyParser; @ISA = qw( XML::Checker::Parser );.

Requirements: No special requirements
Platforms: Linux
Keyword: Code Libraries Parse Programming Validates Xml Xmlcheckerparser
Users rating: 0/10

License: Freeware Size: 368.64 KB
XML::CHECKER::PARSER RELATED
Libraries  -  HTTP::WebTest::XMLParser 1.00
HTTP::WebTest::XMLParser is a Perl module to parse webscript in XML representation. SYNOPSIS use HTTP::WebTest::XMLParser; my ($tests, $opts) = HTTP::WebTest::XMLParser->parse($xmldata); use HTTP::WebTest; my $wt = new HTTP::WebTest;...
11.26 KB  
Business  -  XMLLiterate 1.0.0.7
XMLLiterate is framework for literate programming using XML. XMLLiterate uses the STL and patterns extensively and runs on all platforms supported by Boost. Most of the current programming systems allow you to use an IDE to generate all of the...
143.36 KB  
Code Management Tools  -  GladePyC 1.6
GladePyC is a Python code generator tool, from Glade XML save file, to the low-level part of "PyGtk", the Python - Gtk+ binding. Glade is a GUI builder for the Gtk+ GUI toolkit. PyGtk is the gateway between Python and Gtk+. Why: Those who know...
93.18 KB  
Programming  -  XML Literate Programming System 1.0.0.7
Framework for literate programming using XML written in C++. Boost, The STL and Patterns are used extensively. All platforms which support Boost will be supported.
176.44 KB  
Software Collection Managers  -  Artifact Desktop 2.0
Artifact Desktop is a Personal Code Manager that helps you to find, manage, and use code, and other programming resources, regardless of location. The Artifact Desktop makes it possible to search multiple code-sharing websites with a single query,...
7 KB  
HTML Utilities  -  Liquid Xml Validator 1.0
Liquid Xml Validator is a simple but useful utility that validates XML documents against their schema's. It uses all installed version MSXML to validate the XML document, and reports its findings. This is a useful tool when developing XML...
92 KB  
Text Editors  -  Cloc 0.90
Cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Cloc project is written entirely in Perl using only modules from the standard distribution of Perl v5.6 and higher (well, sort of) and so is...
133.12 KB  
Text Editors  -  my_xml for Linux 0.1.2
Help module to parse a simple XML buffer and store it as a read-only (mostly) dictionary-type object (MyXml). This dictionary can hold other dictionaries, nodes-lists, or leaf nodes. Access to the nodes is by using attributes.
10.24 KB  
Programming  -  ExpressionParser 1.0
ExpressionParser is a Java based utility that may be invoked from Java code to parse mathematical expressions. It is useful for programmers developing calculators, graphing utilities or other math related programs.
7 KB  
Programming  -  Cross Compiler 1.0
This is a cross compiler and code generator which converts the source code from one programming language to another language or binary.
72.24 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB