[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.87,1.88"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Nov 20 17:53:05 UTC 2005


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv1340/lib/Locale/Po4a

Modified Files:
	Sgml.pm 
Log Message:
Support for the processing instructions (pi) (e.g. <?xml...?>).
(ddp/manuals.sgml/developers-reference)


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- Sgml.pm	20 Nov 2005 17:45:41 -0000	1.87
+++ Sgml.pm	20 Nov 2005 17:53:02 -0000	1.88
@@ -1007,6 +1007,11 @@
 	    
 	}
 
+	elsif ($event->type eq 'pi') {
+	    my $pi = $event->data;
+	    $buffer .= "<?$pi>";
+	}
+
 	else {
 	    die wrap_ref_mod($refs[$parse->line], "po4a::sgml", dgettext("po4a","Unknown SGML event type: %s"), $event->type);
 




More information about the Po4a-commits mailing list