Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37861430
en ru br
ALT Linux repositórios
S:3.2-alt3
5.0: 3.1-alt4
4.1: 3.1-alt4
4.0: 3.1-alt2.M40.1
3.0: 3.0-alt2

Group :: Desenvolvimento/Tcl
RPM: tcl-xml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0003-FEDORA-sgmlparser.patch
Download


From fec992b5a3e96e73c76792d303656a5a96719e66 Mon Sep 17 00:00:00 2001
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
Date: Tue, 26 Nov 2019 20:14:09 +0300
Subject: [PATCH 3/4] FEDORA sgmlparser
---
 tclxml/tclxml-tcl/sgmlparser.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tclxml/tclxml-tcl/sgmlparser.tcl b/tclxml/tclxml-tcl/sgmlparser.tcl
index 1da1d3b..563db1a 100755
--- a/tclxml/tclxml-tcl/sgmlparser.tcl
+++ b/tclxml/tclxml-tcl/sgmlparser.tcl
@@ -603,7 +603,7 @@ proc sgml::parseEvent {sgml args} {
 			    }
 			} elseif {![regexp ^$Name\$ $tag]} {
 			    uplevel #0 $options(-errorcommand) [list illegalcharacter "illegal character in processing instruction target \"$tag\""]
-			} elseif {[regexp {[xX][mM][lL]} $tag]} {
+			} elseif {[regexp {^[xX][mM][lL]} $tag]} {
 			    uplevel #0 $options(-errorcommand) [list illegalcharacters "characters \"xml\" not permitted in processing instruction target \"$tag\""]
 			} elseif {![regsub {\?$} $param {} param]} {
 			    uplevel #0 $options(-errorcommand) [list missingquestion "PI: expected '?' character around line $state(line)"]
-- 
2.24.0
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009