mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-07 06:43:02 +03:00
fix to the fix for #141864 from Paul Elseth apply fix from David Gatwood
* xmlIO.c: fix to the fix for #141864 from Paul Elseth * HTMLparser.c result/HTML/doc3.htm: apply fix from David Gatwood for #141195 about text between comments. Daniel
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Tue May 11 11:55:59 CEST 2004 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* xmlIO.c: fix to the fix for #141864 from Paul Elseth
|
||||||
|
* HTMLparser.c result/HTML/doc3.htm: apply fix from David Gatwood for
|
||||||
|
#141195 about text between comments.
|
||||||
|
|
||||||
Tue May 11 23:04:47 HKT 2004 William Brack <wbrack@mmm.com.hk>
|
Tue May 11 23:04:47 HKT 2004 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
* xmlschemas.c, include/libxml/schemasInternals.h,
|
* xmlschemas.c, include/libxml/schemasInternals.h,
|
||||||
|
@@ -2027,6 +2027,8 @@ static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
|
|||||||
return(1);
|
return(1);
|
||||||
if (ctxt->node == NULL) return(0);
|
if (ctxt->node == NULL) return(0);
|
||||||
lastChild = xmlGetLastChild(ctxt->node);
|
lastChild = xmlGetLastChild(ctxt->node);
|
||||||
|
while ((lastChild) && (lastChild->type == XML_COMMENT_NODE))
|
||||||
|
lastChild = lastChild->prev;
|
||||||
if (lastChild == NULL) {
|
if (lastChild == NULL) {
|
||||||
if ((ctxt->node->type != XML_ELEMENT_NODE) &&
|
if ((ctxt->node->type != XML_ELEMENT_NODE) &&
|
||||||
(ctxt->node->content != NULL)) return(0);
|
(ctxt->node->content != NULL)) return(0);
|
||||||
|
@@ -367,7 +367,8 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
|
|||||||
<INPUT TYPE="TEXT" NAME="email" SIZE="10" VALUE="ur@email.com"><BR>
|
<INPUT TYPE="TEXT" NAME="email" SIZE="10" VALUE="ur@email.com"><BR>
|
||||||
<INPUT TYPE="HIDDEN" NAME="subscribe" SIZE="-1" VALUE="subscribe"><INPUT TYPE="IMAGE" SRC="/images/subscribe.gif" WIDTH="80"
|
<INPUT TYPE="HIDDEN" NAME="subscribe" SIZE="-1" VALUE="subscribe"><INPUT TYPE="IMAGE" SRC="/images/subscribe.gif" WIDTH="80"
|
||||||
HEIGHT="27" ALIGN="BOTTOM" BORDER="0"></FONT>
|
HEIGHT="27" ALIGN="BOTTOM" BORDER="0"></FONT>
|
||||||
</FORM> --><form action="http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?emaillist" method="post">
|
</FORM> -->
|
||||||
|
<form action="http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?emaillist" method="post">
|
||||||
<img height="1" src="doc3_files/spacer.gif" width="111"><br><font size="1">Newsletter<br><input name="npemail" size="13" value="e-mail addr."><br><input name="npsubscribe" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Subscribe"><br><!-- <input type="submit" name="npunsubscribe" value="Unsubscribe" style="font-size: xx-small; font-family: Verdana; font-weight: bold; color: #ffffff; background-color: #000000;"> --></font>
|
<img height="1" src="doc3_files/spacer.gif" width="111"><br><font size="1">Newsletter<br><input name="npemail" size="13" value="e-mail addr."><br><input name="npsubscribe" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Subscribe"><br><!-- <input type="submit" name="npunsubscribe" value="Unsubscribe" style="font-size: xx-small; font-family: Verdana; font-weight: bold; color: #ffffff; background-color: #000000;"> --></font>
|
||||||
</form>
|
</form>
|
||||||
<font size="1">
|
<font size="1">
|
||||||
@@ -384,7 +385,8 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
--><table bgcolor="silver" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="middle" width="100%">
|
--><table bgcolor="silver" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="middle" width="100%">
|
||||||
<!-- BEGIN GoTo.com Search Box --><script language="javascript" type="text/javascript">
|
<!-- BEGIN GoTo.com Search Box -->
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
if ((parseInt(navigator.appVersion) >= 3)
|
if ((parseInt(navigator.appVersion) >= 3)
|
||||||
&& (navigator.appName != "Netscape")) {
|
&& (navigator.appName != "Netscape")) {
|
||||||
@@ -414,7 +416,8 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
|
|||||||
}
|
}
|
||||||
// -->
|
// -->
|
||||||
</script><b><noscript></noscript></b><a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank"><img align="bottom" border="0" height="90" ismap src="doc3_files/100x90.gif" width="100"></a><b><a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank">
|
</script><b><noscript></noscript></b><a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank"><img align="bottom" border="0" height="90" ismap src="doc3_files/100x90.gif" width="100"></a><b><a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank">
|
||||||
</a></b><b></b><b><!-- END GoTo.com Search Box --></b><!-- Pricewatch Search Box --><form action="http://www.pricewatch.com/search/search.asp" method="get" target="_Blank">
|
</a></b><b></b><b><!-- END GoTo.com Search Box --></b><!-- Pricewatch Search Box -->
|
||||||
|
<form action="http://www.pricewatch.com/search/search.asp" method="get" target="_Blank">
|
||||||
<center>
|
<center>
|
||||||
<p><b><font color="white" face="ARIAL, HELVETICA" size="1">PC Price
|
<p><b><font color="white" face="ARIAL, HELVETICA" size="1">PC Price
|
||||||
Search<br></font></b><input maxlength="30" name="criteria" size="10"><br><input name="submit" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Search"></p>
|
Search<br></font></b><input maxlength="30" name="criteria" size="10"><br><input name="submit" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Search"></p>
|
||||||
|
4
xmlIO.c
4
xmlIO.c
@@ -2230,8 +2230,8 @@ xmlOutputBufferCreateFilename(const char *URI,
|
|||||||
|
|
||||||
puri = xmlParseURI(URI);
|
puri = xmlParseURI(URI);
|
||||||
if (puri != NULL) {
|
if (puri != NULL) {
|
||||||
if ((puri->scheme == NULL) ||
|
if ((puri->scheme != NULL) &&
|
||||||
(xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
|
(!xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
|
||||||
is_file_uri = 0;
|
is_file_uri = 0;
|
||||||
/*
|
/*
|
||||||
* try to limit the damages of the URI unescaping code.
|
* try to limit the damages of the URI unescaping code.
|
||||||
|
Reference in New Issue
Block a user