|File Search||Catalog||Content Search|
The parser itself will only cease parsing if it encounters tags that are not closed properly. All other inputs will parse, even invalid inputs. To allowing checking for validity, a schema checker is included in the module as well.
The schema format is custom and is meant to be as simple as possible. It is based loosely around the way multiplicity is handled in Perl regular expressions.
XML::Bare ------------ INSTALLATION Download XML-Bare-latest.tar.gz and untar it: % tar -xzf XML-Bare-latest.tar.gz Follow the standard steps for making and compiling a perl module: % cd XML-Bare-X.XX ( X.XX = the latest version ) % perl Makefile.PL % make % make test % make install COPYRIGHT Copyright (C) 2007 David Helkowski This program is free soft more»
Bare(3) User Contributed Perl Documentation Bare(3) NAME XML::Bare - Minimal XML parser implemented via a C state engine VERSION 0.45 SYNOPSIS use XML::Bare; my $ob = new XML::Bare( text => '<xml><name>Bob</name></xml>' ); # Parse the xml into a hash tree my $root = $ob->parse(); # Print the content of the n more»
XML::Bare Changelog 0.45 - Missing UTF8 test files now included - XML Saving functionality now does size checks to ensure concurrency issues do not corrupt XML. - Linking under Solaris should now be fixed - Line number defines removed from XS compilation to attempt to fix some strange compilation problems. 0.44 - Self closing nodes now printed by xml function - UTF8 Handling more»