1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

applied patch from Marcus Boerger to route relaxng and schemas error

* error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h
  include/libxml/xmlschemas.h: applied patch from Marcus Boerger
  to route relaxng and schemas error messages when using the reader
  through the structured interface if activated.
* elfgcchack.h doc/* testapi.c: rebuilt since this add  new APIs
  to test.
Daniel
This commit is contained in:
Daniel Veillard
2005-07-13 23:07:49 +00:00
parent 358fef4b1e
commit da0aa4cfdb
21 changed files with 401 additions and 94 deletions

View File

@@ -17336,6 +17336,16 @@ test_xmlRelaxNGSetValidErrors(void) {
}
static int
test_xmlRelaxNGSetValidStructuredErrors(void) {
int test_ret = 0;
/* missing type support */
return(test_ret);
}
static int
test_xmlRelaxNGValidateDoc(void) {
int test_ret = 0;
@@ -17613,7 +17623,7 @@ static int
test_relaxng(void) {
int test_ret = 0;
if (quiet == 0) printf("Testing relaxng : 14 of 22 functions ...\n");
if (quiet == 0) printf("Testing relaxng : 14 of 23 functions ...\n");
test_ret += test_xmlRelaxNGDump();
test_ret += test_xmlRelaxNGDumpTree();
test_ret += test_xmlRelaxNGGetParserErrors();
@@ -17626,6 +17636,7 @@ test_relaxng(void) {
test_ret += test_xmlRelaxNGParse();
test_ret += test_xmlRelaxNGSetParserErrors();
test_ret += test_xmlRelaxNGSetValidErrors();
test_ret += test_xmlRelaxNGSetValidStructuredErrors();
test_ret += test_xmlRelaxNGValidateDoc();
test_ret += test_xmlRelaxNGValidateFullElement();
test_ret += test_xmlRelaxNGValidatePopElement();
@@ -32808,6 +32819,16 @@ test_xmlSchemaSetValidOptions(void) {
}
static int
test_xmlSchemaSetValidStructuredErrors(void) {
int test_ret = 0;
/* missing type support */
return(test_ret);
}
static int
test_xmlSchemaValidCtxtGetOptions(void) {
int test_ret = 0;
@@ -33037,7 +33058,7 @@ static int
test_xmlschemas(void) {
int test_ret = 0;
if (quiet == 0) printf("Testing xmlschemas : 14 of 22 functions ...\n");
if (quiet == 0) printf("Testing xmlschemas : 14 of 23 functions ...\n");
test_ret += test_xmlSchemaDump();
test_ret += test_xmlSchemaGetParserErrors();
test_ret += test_xmlSchemaGetValidErrors();
@@ -33052,6 +33073,7 @@ test_xmlschemas(void) {
test_ret += test_xmlSchemaSetParserErrors();
test_ret += test_xmlSchemaSetValidErrors();
test_ret += test_xmlSchemaSetValidOptions();
test_ret += test_xmlSchemaSetValidStructuredErrors();
test_ret += test_xmlSchemaValidCtxtGetOptions();
test_ret += test_xmlSchemaValidateDoc();
test_ret += test_xmlSchemaValidateFile();