From: <ai...@us...> - 2013-08-13 11:40:23
|
Revision: 12482 http://sourceforge.net/p/plplot/code/12482 Author: airwin Date: 2013-08-13 11:40:19 +0000 (Tue, 13 Aug 2013) Log Message: ----------- Remove fake system identifiers imposed by the perl scripts that parse our DocBook XML source documentation. Those identifiers were required before to work around the issue that our source documentation incorrectly did not have a system identifier. That has now been rectified with revision 12481 so the fake system identifiers imposed by the perl scripts are no longer needed, and, in fact, they must be removed because they conflict with the real system identifier "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" which is now configured into plplotdoc.xml(.in) so that xmllint validation produces a good result. Tested by Alan W. Irwin <ai...@us...> using the cmake options -DBUILD_TEST=ON -DBUILD_DOC=ON and with the targets check_swig_documentation, make_documentation, and all. Revision Links: -------------- http://sourceforge.net/p/plplot/code/12481 Modified Paths: -------------- trunk/doc/docbook/bin/api2man.pl.in trunk/doc/docbook/bin/api2swigdoc.pl trunk/doc/docbook/bin/api2text.pl trunk/doc/docbook/bin/info-clean.pl Modified: trunk/doc/docbook/bin/api2man.pl.in =================================================================== --- trunk/doc/docbook/bin/api2man.pl.in 2013-08-12 23:11:08 UTC (rev 12481) +++ trunk/doc/docbook/bin/api2man.pl.in 2013-08-13 11:40:19 UTC (rev 12482) @@ -62,7 +62,7 @@ open (MASTER, "< $ARGV[0]"); while (<MASTER>) { if (/^(<!DOCTYPE.*)\[/) { - $api .= "$1 \"\" [\n"; + $api .= "$1 [\n"; } elsif (/^<\?xml/) { $api .= '<?xml version="1.0" standalone="yes"?> Modified: trunk/doc/docbook/bin/api2swigdoc.pl =================================================================== --- trunk/doc/docbook/bin/api2swigdoc.pl 2013-08-12 23:11:08 UTC (rev 12481) +++ trunk/doc/docbook/bin/api2swigdoc.pl 2013-08-13 11:40:19 UTC (rev 12482) @@ -70,7 +70,7 @@ open (MASTER, "< $ARGV[0]"); while (<MASTER>) { if (/^(<!DOCTYPE.*)\[/) { - $api .= "$1 \"\" [\n"; + $api .= "$1 [\n"; } elsif (/^<\?xml/) { $api .= '<?xml version="1.0" standalone="yes"?> Modified: trunk/doc/docbook/bin/api2text.pl =================================================================== --- trunk/doc/docbook/bin/api2text.pl 2013-08-12 23:11:08 UTC (rev 12481) +++ trunk/doc/docbook/bin/api2text.pl 2013-08-13 11:40:19 UTC (rev 12482) @@ -66,7 +66,7 @@ open (MASTER, "< $ARGV[0]"); while (<MASTER>) { if (/^(<!DOCTYPE.*)\[/) { - $api .= "$1 \"\" [\n"; + $api .= "$1 [\n"; } elsif (/^<\?xml/) { $api .= '<?xml version="1.0" standalone="yes"?> Modified: trunk/doc/docbook/bin/info-clean.pl =================================================================== --- trunk/doc/docbook/bin/info-clean.pl 2013-08-12 23:11:08 UTC (rev 12481) +++ trunk/doc/docbook/bin/info-clean.pl 2013-08-13 11:40:19 UTC (rev 12482) @@ -4,7 +4,7 @@ $intoc = 0; while (<>) { if (/(<!DOCTYPE.*)\[(.*)/) { - print "$1 \"foobar\" [$2\n" ; next} + print "$1 [$2\n" ; next} if (/(.*)<part(.*)>(.*)/) { $inpart = 1; print "$1<!--<part$2>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |