mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-07 06:43:02 +03:00
Never commit without running "make tests" :-( fix a couple of stupidities
* valid.c SAX.c: Never commit without running "make tests" :-( fix a couple of stupidities in the previous commit * result/*: a few changes in some attribute order result of previous commit. Daniel
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
Mon Mar 25 13:08:21 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* valid.c SAX.c: Never commit without running "make tests" :-(
|
||||||
|
fix a couple of stupidities in the previous commit
|
||||||
|
* result/*: a few changes in some attribute order result of previous
|
||||||
|
commit.
|
||||||
|
|
||||||
Mon Mar 25 11:46:05 CET 2002 Daniel Veillard <daniel@veillard.com>
|
Mon Mar 25 11:46:05 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* valid.c SAX.c: fixed bug #76168, attribute redeclared in
|
* valid.c SAX.c: fixed bug #76168, attribute redeclared in
|
||||||
|
3
SAX.c
3
SAX.c
@@ -1303,7 +1303,8 @@ startElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
while ((att != NULL) && (value != NULL)) {
|
while ((att != NULL) && (value != NULL)) {
|
||||||
if ((att[0] != 'x') || (att[1] != 'm') || (att[2] != 'l'))
|
if ((att[0] != 'x') || (att[1] != 'm') || (att[2] != 'l') ||
|
||||||
|
(att[3] != 'n') || (att[4] != 's'))
|
||||||
attribute(ctxt, att, value);
|
attribute(ctxt, att, value);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>
|
<diagram testattr="test" xml:lang="en" xml:link="simple" xml:space="preserve"/>
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>
|
<diagram testattr="test" xml:lang="en" xml:link="simple" xml:space="preserve"/>
|
||||||
|
@@ -3365,7 +3365,7 @@ Ravi Sethi, and Jeffrey D. Ullman.
|
|||||||
<emph>Compilers: Principles, Techniques, and Tools</emph>.
|
<emph>Compilers: Principles, Techniques, and Tools</emph>.
|
||||||
Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl>
|
Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl>
|
||||||
|
|
||||||
<bibl xml-link="simple" id="Berners-Lee" key="Berners-Lee et al.">
|
<bibl id="Berners-Lee" xml-link="simple" key="Berners-Lee et al.">
|
||||||
Berners-Lee, T., R. Fielding, and L. Masinter.
|
Berners-Lee, T., R. Fielding, and L. Masinter.
|
||||||
<emph>Uniform Resource Identifiers (URI): Generic Syntax and
|
<emph>Uniform Resource Identifiers (URI): Generic Syntax and
|
||||||
Semantics</emph>.
|
Semantics</emph>.
|
||||||
@@ -3391,21 +3391,21 @@ Bericht 38, Oktober 1991.
|
|||||||
Comparison of SGML and XML. See
|
Comparison of SGML and XML. See
|
||||||
<loc href="http://www.w3.org/TR/NOTE-sgml-xml-971215">http://www.w3.org/TR/NOTE-sgml-xml-971215</loc>.
|
<loc href="http://www.w3.org/TR/NOTE-sgml-xml-971215">http://www.w3.org/TR/NOTE-sgml-xml-971215</loc>.
|
||||||
</bibl>
|
</bibl>
|
||||||
<bibl xml-link="simple" id="RFC1738" key="IETF RFC1738">
|
<bibl id="RFC1738" xml-link="simple" key="IETF RFC1738">
|
||||||
IETF (Internet Engineering Task Force).
|
IETF (Internet Engineering Task Force).
|
||||||
<emph>RFC 1738: Uniform Resource Locators (URL)</emph>,
|
<emph>RFC 1738: Uniform Resource Locators (URL)</emph>,
|
||||||
ed. T. Berners-Lee, L. Masinter, M. McCahill.
|
ed. T. Berners-Lee, L. Masinter, M. McCahill.
|
||||||
1994.
|
1994.
|
||||||
</bibl>
|
</bibl>
|
||||||
|
|
||||||
<bibl xml-link="simple" id="RFC1808" key="IETF RFC1808">
|
<bibl id="RFC1808" xml-link="simple" key="IETF RFC1808">
|
||||||
IETF (Internet Engineering Task Force).
|
IETF (Internet Engineering Task Force).
|
||||||
<emph>RFC 1808: Relative Uniform Resource Locators</emph>,
|
<emph>RFC 1808: Relative Uniform Resource Locators</emph>,
|
||||||
ed. R. Fielding.
|
ed. R. Fielding.
|
||||||
1995.
|
1995.
|
||||||
</bibl>
|
</bibl>
|
||||||
|
|
||||||
<bibl xml-link="simple" id="RFC2141" key="IETF RFC2141">
|
<bibl id="RFC2141" xml-link="simple" key="IETF RFC2141">
|
||||||
IETF (Internet Engineering Task Force).
|
IETF (Internet Engineering Task Force).
|
||||||
<emph>RFC 2141: URN Syntax</emph>,
|
<emph>RFC 2141: URN Syntax</emph>,
|
||||||
ed. R. Moats.
|
ed. R. Moats.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "dtds/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "dtds/xhtml1-strict.dtd">
|
||||||
<?xml-stylesheet href="W3C-PR.css" type="text/css"?>
|
<?xml-stylesheet href="W3C-PR.css" type="text/css"?>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>XHTML 1.0: The Extensible HyperText Markup
|
<title>XHTML 1.0: The Extensible HyperText Markup
|
||||||
Language</title>
|
Language</title>
|
||||||
|
3
valid.c
3
valid.c
@@ -3382,9 +3382,6 @@ xmlValidateOneAttribute(xmlValidCtxtPtr ctxt, xmlDocPtr doc,
|
|||||||
if ((elem == NULL) || (elem->name == NULL)) return(0);
|
if ((elem == NULL) || (elem->name == NULL)) return(0);
|
||||||
if ((attr == NULL) || (attr->name == NULL)) return(0);
|
if ((attr == NULL) || (attr->name == NULL)) return(0);
|
||||||
|
|
||||||
if (xmlStrEqual(attr->name, "lang")) {
|
|
||||||
printf("hello\n");
|
|
||||||
}
|
|
||||||
if ((elem->ns != NULL) && (elem->ns->prefix != NULL)) {
|
if ((elem->ns != NULL) && (elem->ns->prefix != NULL)) {
|
||||||
xmlChar qname[500];
|
xmlChar qname[500];
|
||||||
snprintf((char *) qname, sizeof(qname), "%s:%s",
|
snprintf((char *) qname, sizeof(qname), "%s:%s",
|
||||||
|
Reference in New Issue
Block a user