version 1.1.1.2, 2013/07/22 01:22:22
|
version 1.1.1.3, 2014/06/15 19:53:31
|
Line 6
|
Line 6
|
* daniel@veillard.com |
* daniel@veillard.com |
*/ |
*/ |
|
|
#ifdef HAVE_CONFIG_H |
|
#include "libxml.h" |
#include "libxml.h" |
#else |
|
#include <stdio.h> |
#include <stdio.h> |
#endif |
|
|
|
#ifdef LIBXML_XPATH_ENABLED |
#ifdef LIBXML_XPATH_ENABLED |
|
|
Line 37 static int verbose = 0;
|
Line 34 static int verbose = 0;
|
|
|
#define NB_EXPECTED_ERRORS 15 |
#define NB_EXPECTED_ERRORS 15 |
|
|
#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) |
|
#define vsnprintf _vsnprintf |
|
#define snprintf _snprintf |
|
#endif |
|
|
|
const char *skipped_tests[] = { |
const char *skipped_tests[] = { |
/* http://lists.w3.org/Archives/Public/public-xml-testsuite/2008Jul/0000.html */ |
/* http://lists.w3.org/Archives/Public/public-xml-testsuite/2008Jul/0000.html */ |
Line 390 xmlconfTestItem(xmlDocPtr doc, xmlNodePtr cur) {
|
Line 383 xmlconfTestItem(xmlDocPtr doc, xmlNodePtr cur) {
|
if (xmlStrEqual(type, BAD_CAST "not-wf")) { |
if (xmlStrEqual(type, BAD_CAST "not-wf")) { |
if (nstest == 0) |
if (nstest == 0) |
xmlconfTestNotWF((char *) id, (char *) filename, options); |
xmlconfTestNotWF((char *) id, (char *) filename, options); |
else | else |
xmlconfTestNotNSWF((char *) id, (char *) filename, options); |
xmlconfTestNotNSWF((char *) id, (char *) filename, options); |
} else if (xmlStrEqual(type, BAD_CAST "valid")) { |
} else if (xmlStrEqual(type, BAD_CAST "valid")) { |
options |= XML_PARSE_DTDVALID; |
options |= XML_PARSE_DTDVALID; |