openbsd-ports/textproc/p5-XML-DOM/patches/patch-DOM_pm
avsm 5b30648943 initial import of p5-XML-DOM-1.25
--
This is a Perl extension to XML::Parser. It adds a new 'Style' to
XML::Parser, called 'Dom', that allows XML::Parser to build an
Object Oriented datastructure with a DOM Level 1 compliant interface.
For a description of the DOM (Document Object Model), see
http://www.w3.org/DOM/
2001-01-25 00:11:52 +00:00

13 lines
507 B
Plaintext

$OpenBSD: patch-DOM_pm,v 1.1.1.1 2001/01/25 00:11:52 avsm Exp $
--- DOM.pm.orig Thu Jan 25 00:05:49 2001
+++ DOM.pm Thu Jan 25 00:06:06 2001
@@ -133,7 +133,7 @@ $ChNameChar = "(?:[-._:]|$ChLetter|$ChDi
$ReName = "(?:(?:[:_]|$ChLetter)$ChNameChar*)";
$ReNmToken = "(?:$ChNameChar)+";
$ReEntityRef = "(?:\&$ReName;)";
-$ReCharRef = "(?:\&#(?:\d+|x[0-9a-fA-F]+);)";
+$ReCharRef = '(?:\&#(?:\d+|x[0-9a-fA-F]+);)';
$ReReference = "(?:$ReEntityRef|$ReCharRef)";
#?? what if it contains entity references?