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 30.066.139 Times

XML::Checker::Parser 1.02

  Date Added: June 05, 2010  |  Visits: 799

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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
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...
2.73 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