Meta::Tool::Xmllint - run xmllint to check xml files.


Meta documentation  | view source Contained in the Meta distribution.

Index


NAME

Top

Meta::Tool::Xmllint - run xmllint to check xml files.

COPYRIGHT

Top

LICENSE

Top

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

Top

	MANIFEST: Xmllint.pm
	PROJECT: meta
	VERSION: 0.07

SYNOPSIS

Top

	package foo;
	use Meta::Tool::Xmllint qw();
	my($result)=Meta::Tool::Xmllint::check_file("myxml.xml");

DESCRIPTION

Top

This module runs xmllint to check XML files for you. xmllint is a tool supplied with libxml2 which is the gnome projects xml library. This tool currently runs the command line "xmllint" executable so it's not ideal but it's something...:).

FUNCTIONS

Top

	check_file($)
	check_modu($)
	TEST($)

FUNCTION DOCUMENTATION

Top

check_file($)

This method receives a file and checks it for you.

check_modu($)

This method receives a development module and checks it for you.

TEST($)

Test suite for this module.

SUPER CLASSES

Top

None.

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV md5 progress
	0.01 MV thumbnail user interface
	0.02 MV more thumbnail issues
	0.03 MV website construction
	0.04 MV web site automation
	0.05 MV SEE ALSO section fix
	0.06 MV teachers project
	0.07 MV md5 issues

SEE ALSO

Top

Meta::Utils::Output(3), strict(3)

TODO

Top

-run xmllint with DTD validation (the code is currently remarked because it cant find the DTDs - make it find them). look at the libxml2 library documentation. Some env var should be good enough.

-enable to the user of this tool to set and turn off options here. Turn this module into an object oriented one to do this.


Meta documentation  | view source Contained in the Meta distribution.