FreeBSD web build failed on www.freebsd.org

Hiroki Sato hrs at FreeBSD.org
Thu Aug 26 02:43:46 UTC 2004


Hi Simon,

World Wide Web Owner <www at freebsd.org> wrote
  in <200408260220.i7Q2KDfd071051 at www.freebsd.org>:

www> /usr/local/bin/jade:/w/www/build/relnotes/doc/en_US.ISO8859-1/hardware/alpha/../../../share/sgml/dev-auto.sgml:505:19:E: character "_" invalid: only parameter literal, "CDATA", "ENDTAG", "MD", "MS", "PI", "PUBLIC", "SDATA", "STARTTAG", "SYSTEM" and parameter separators allowed
www> *** Error code 1
www> 
www> Stop in /w/www/build/relnotes/doc/en_US.ISO8859-1/hardware/alpha.

 A patch is attached to fix this problem.  Could you review this?

-- 
| Hiroki SATO
-------------- next part --------------
Index: man2hwnotes.pl
===================================================================
RCS file: /home/ncvs/src/release/doc/share/misc/man2hwnotes.pl,v
retrieving revision 1.5
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.5 man2hwnotes.pl
--- man2hwnotes.pl	25 Aug 2004 23:32:26 -0000	1.5
+++ man2hwnotes.pl	26 Aug 2004 02:38:31 -0000
@@ -163,6 +163,8 @@
 	    if (/^Nm "?(\w+)"?/ && !defined($mdocvars{Nm})) {
 		dlog(3, "Setting Nm to $1");
 		$mdocvars{Nm} = $1;
+		# "_" cannot be used for an entity name.
+		$mdocvars{Nm} =~ s,_,.,g;
 
 	    } elsif (/^Nm$/) {
 		if (defined($mdocvars{Nm}) && $mdocvars{Nm} ne "") {
@@ -197,6 +199,9 @@
 		dlog(4, "Setting mansection to $2");
 		$mdocvars{cur_manname} = lc($1);
 		$cur_mansection = $2;
+
+		# "_" cannot be used for an entity name.
+		$mdocvars{cur_manname} =~ s,_,.,g;
 
 	    } elsif (/^It ?(.*)$/) {
 		my $txt = $1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040826/094dec28/attachment.sig>


More information about the freebsd-doc mailing list