Permalink
Browse files

Never commit without running "make tests" :-( fix a couple of stupidi…

…ties

* 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
  • Loading branch information...
1 parent d85f4f4 commit 6f4561a49ce71a46972f893cf6e76d92345a2724 Daniel Veillard committed Mar 25, 2002
Showing with 16 additions and 11 deletions.
  1. +7 −0 ChangeLog
  2. +2 −1 SAX.c
  3. +1 −1 result/noent/ns4
  4. +1 −1 result/ns4
  5. +4 −4 result/valid/REC-xml-19980210.xml
  6. +1 −1 result/valid/xhtml1.xhtml
  7. +0 −3 valid.c
View
@@ -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>
* valid.c SAX.c: fixed bug #76168, attribute redeclared in
View
3 SAX.c
@@ -1303,7 +1303,8 @@ startElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)
}
} else {
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);
/*
View
@@ -1,2 +1,2 @@
<?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"/>
View
@@ -1,2 +1,2 @@
<?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>.
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.
<emph>Uniform Resource Identifiers (URI): Generic Syntax and
Semantics</emph>.
@@ -3391,21 +3391,21 @@ Bericht 38, Oktober 1991.
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>.
</bibl>
-<bibl xml-link="simple" id="RFC1738" key="IETF RFC1738">
+<bibl id="RFC1738" xml-link="simple" key="IETF RFC1738">
IETF (Internet Engineering Task Force).
<emph>RFC 1738: Uniform Resource Locators (URL)</emph>,
ed. T. Berners-Lee, L. Masinter, M. McCahill.
1994.
</bibl>
-<bibl xml-link="simple" id="RFC1808" key="IETF RFC1808">
+<bibl id="RFC1808" xml-link="simple" key="IETF RFC1808">
IETF (Internet Engineering Task Force).
<emph>RFC 1808: Relative Uniform Resource Locators</emph>,
ed. R. Fielding.
1995.
</bibl>
-<bibl xml-link="simple" id="RFC2141" key="IETF RFC2141">
+<bibl id="RFC2141" xml-link="simple" key="IETF RFC2141">
IETF (Internet Engineering Task Force).
<emph>RFC 2141: URN Syntax</emph>,
ed. R. Moats.
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "dtds/xhtml1-strict.dtd">
<?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>
<title>XHTML 1.0: The Extensible HyperText Markup
Language</title>
View
@@ -3382,9 +3382,6 @@ xmlValidateOneAttribute(xmlValidCtxtPtr ctxt, xmlDocPtr doc,
if ((elem == NULL) || (elem->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)) {
xmlChar qname[500];
snprintf((char *) qname, sizeof(qname), "%s:%s",

0 comments on commit 6f4561a

Please sign in to comment.