The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Meta::Tool::Onsgmls - run onsgmls for you.

COPYRIGHT

Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.

LICENSE

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

        MANIFEST: Onsgmls.pm
        PROJECT: meta
        VERSION: 0.16

SYNOPSIS

        package foo;
        use Meta::Tool::Onsgmls qw();
        my($object)=Meta::Tool::Onsgmls->new();
        my($result)=$object->method();

DESCRIPTION

This module will ease the work of running onsgmls for you. The current purpose is to validate SGML documents but more uses may be added in the future.

The onsgmls that this runs is the one supplied with recent versions of opensp and NOT openjade. This means that you need opensp installed and your path to point to the opensp version of onsgmls which has a DIFFERENT command line interface than the openjade interface.

FUNCTIONS

        BEGIN()
        dochec($)
        TEST($)

FUNCTION DOCUMENTATION

BEGIN()

A bootstrap method to find your version of onsgmls.

dochec($)

This method will check an sgml file using nsgmls and will return a boolean value according to whether that file is correct.

TEST($)

Test suite for this module.

SUPER CLASSES

None.

BUGS

None.

AUTHOR

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

HISTORY

        0.00 MV history change
        0.01 MV papers
        0.02 MV spelling and papers
        0.03 MV publish gz on the internet
        0.04 MV finish lit database and convert DocBook to SGML
        0.05 MV perl packaging
        0.06 MV BuildInfo object change
        0.07 MV md5 project
        0.08 MV database
        0.09 MV perl module versions in files
        0.10 MV movies and small fixes
        0.11 MV thumbnail user interface
        0.12 MV more thumbnail issues
        0.13 MV website construction
        0.14 MV web site automation
        0.15 MV SEE ALSO section fix
        0.16 MV md5 issues

SEE ALSO

Meta::Lang::Docb::Params(3), Meta::Utils::File::Patho(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)

TODO

-fix the docbook dtd and remove the -wno-mixed flag that I use here to bypass it.

-get the path for onsgmls (/local/tools/bin) out of here and into some external options file.