Commit 71531f33 authored by Daniel Veillard's avatar Daniel Veillard

comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2

* HTMLparser.c tree.c xmlIO.c: comments cleanups
* Makefile.am: use xmllint for doing the RelaxNG tests
* configure.in: preparing 2.5.2 made schemas support default to
  on instead of off
* relaxng.c: removed the verbosity
* xmllint.c: added --relaxng option
* python/generator.py python/libxml_wrap.h: prepared the integration
  of the new RelaxNG module and schemas
* result/relaxng/*: less verbose output
Daniel
parent ec498e1b
Wed Feb 5 14:15:59 CET 2003 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c tree.c xmlIO.c: comments cleanups
* Makefile.am: use xmllint for doing the RelaxNG tests
* configure.in: preparing 2.5.2 made schemas support default to
on instead of off
* relaxng.c: removed the verbosity
* xmllint.c: added --relaxng option
* python/generator.py python/libxml_wrap.h: prepared the integration
of the new RelaxNG module and schemas
* result/relaxng/*: less verbose output
Wed Feb 5 12:00:36 CET 2003 Daniel Veillard <daniel@veillard.com>
* valid.c: do not run content model validation if the
......
......@@ -5493,7 +5493,7 @@ htmlElementStatusHere(const htmlElemDesc* parent, const htmlElemDesc* elt) {
return ( elt->dtd == 0 ) ? HTML_VALID : HTML_DEPRECATED ;
}
/**
* htmlAttrAllowed
* htmlAttrAllowed:
* @elt: HTML element
* @attr: HTML attribute
* @legacy: whether to allow deprecated attributes
......@@ -5528,7 +5528,7 @@ htmlAttrAllowed(const htmlElemDesc* elt, const xmlChar* attr, int legacy) {
return HTML_INVALID ;
}
/**
* htmlNodeStatus
* htmlNodeStatus:
* @node - an htmlNodePtr in a tree
* @legacy - whether to allow deprecated elements (YES is faster here
* for Element nodes)
......
......@@ -686,7 +686,7 @@ Schemastests: testSchemas$(EXEEXT)
fi ; \
done; done)
Relaxtests: testRelax$(EXEEXT)
Relaxtests: xmllint$(EXEEXT)
@(echo > .memdump)
@echo "##"
@echo "## Relax-NG regression tests"
......@@ -699,12 +699,12 @@ Relaxtests: testRelax$(EXEEXT)
if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
then \
echo New test file "$$name"_"$$xno" ; \
$(CHECKER) $(top_builddir)/testRelax $$i $$j \
$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
> $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
else \
echo Testing "$$name"_"$$xno" ; \
$(CHECKER) $(top_builddir)/testRelax $$i $$j \
$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
> res.$$name 2> err.$$name;\
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
......
......@@ -6,7 +6,7 @@ AC_CANONICAL_HOST
LIBXML_MAJOR_VERSION=2
LIBXML_MINOR_VERSION=5
LIBXML_MICRO_VERSION=1
LIBXML_MICRO_VERSION=2
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
......@@ -579,9 +579,9 @@ M_LIBS="-lm"
XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
AC_SUBST(WITH_ICONV)
AC_ARG_WITH(schemas, [ --with-schemas Add experimental Schemas support (off)])
AC_ARG_WITH(schemas, [ --with-schemas Add experimental Schemas/RelaxNG support (on)])
if test "$with_schemas" = "yes" ; then
echo "Enabling Schemas/Relax-NG support"
echo "Enabled Schemas/Relax-NG support"
WITH_SCHEMAS=1
TEST_SCHEMAS="Schemastests Relaxtests"
with_regexps=yes
......
......@@ -1216,7 +1216,7 @@ class CParser:
self.index.add(self.name, self.filename, static,
"function", d)
token = self.token()
if token[0] == "sep" and token[1] == "{":
elif token[0] == "sep" and token[1] == "{":
d = self.mergeFunctionComment(self.name,
((type, None), self.signature), static)
self.index.add(self.name, self.filename, static,
......
This diff is collapsed.
......@@ -740,6 +740,8 @@ xmlAttrPtr xmlSetProp (xmlNodePtr node,
const xmlChar *value);
xmlChar * xmlGetProp (xmlNodePtr node,
const xmlChar *name);
xmlChar * xmlGetNoNsProp (xmlNodePtr node,
const xmlChar *name);
xmlAttrPtr xmlHasProp (xmlNodePtr node,
const xmlChar *name);
xmlAttrPtr xmlHasNsProp (xmlNodePtr node,
......
......@@ -420,6 +420,11 @@ def print_function_wrapper(name, output, export, include):
include.write("#ifdef LIBXML_REGEXP_ENABLED\n");
export.write("#ifdef LIBXML_REGEXP_ENABLED\n");
output.write("#ifdef LIBXML_REGEXP_ENABLED\n");
elif file == "xmlschemas" or file == "xmlschemastypes" or \
file == "relaxng":
include.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
export.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
output.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
include.write("PyObject * ")
include.write("libxml_%s(PyObject *self, PyObject *args);\n" % (name));
......@@ -483,6 +488,11 @@ def print_function_wrapper(name, output, export, include):
include.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
export.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
output.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
elif file == "xmlschemas" or file == "xmlschemastypes" or \
file == "relaxng":
include.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
export.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
output.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
return 1
def buildStubs():
......
......@@ -126,6 +126,9 @@ htmlSAXParseFile()
newNode()
setEntityLoader()
# functions from module relaxng
relaxNGCleanupTypes()
# functions from module tree
compressMode()
isXHTML()
......@@ -366,6 +369,7 @@ Class xmlNode(xmlCore)
newNsPropEatName()
newProp()
newTextChild()
noNsProp()
nodePath()
nsProp()
prop()
......
......@@ -18,6 +18,7 @@
#include <libxml/xmlregexp.h>
#include <libxml/xmlautomata.h>
#include <libxml/xmlreader.h>
#include <libxml/relaxng.h>
/**
* ATTRIBUTE_UNUSED:
......
......@@ -47,10 +47,10 @@ static const xmlChar *xmlRelaxNGNs = (const xmlChar *)
(xmlStrEqual(node->ns->href, xmlRelaxNGNs)))
#define DEBUG 1 /* very verbose output */
#define DEBUG_CONTENT 1
#define DEBUG_TYPE 1
#define DEBUG_VALID 1
/* #define DEBUG 1 */ /* very verbose output */
/* #define DEBUG_CONTENT 1 */
/* #define DEBUG_TYPE 1 */
/* #define DEBUG_VALID 1 */
/* #define DEBUG_INTERLEAVE 1 */
#define UNBOUNDED (1 << 30)
......@@ -5407,6 +5407,11 @@ xmlRelaxNGValidateDoc(xmlRelaxNGValidCtxtPtr ctxt, xmlDocPtr doc) {
ctxt->doc = doc;
ret = xmlRelaxNGValidateDocument(ctxt, doc);
/*
* TODO: build error codes
*/
if (ret == -1)
return(1);
return(ret);
}
......
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated bar1 : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated bar2 : 0
xmlRelaxNGValidateDefinition(): validated foo : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated foo : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated foo : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated foo : 0
Expecting a namespace for element foo
extra data on the document
./test/relaxng/tutor10_1_4.xml validation generated an internal error
./test/relaxng/tutor10_1_4.xml fails to validate
error detected at relaxng.c:5006
error detected at relaxng.c:5310
error detected at relaxng.c:5013
error detected at relaxng.c:5319
Expecting element foo has wrong namespace: expecting http://www.example.com
extra data on the document
./test/relaxng/tutor10_1_5.xml validation generated an internal error
./test/relaxng/tutor10_1_5.xml fails to validate
error detected at relaxng.c:5011
error detected at relaxng.c:5310
error detected at relaxng.c:5018
error detected at relaxng.c:5319
Expecting element foo has wrong namespace: expecting http://www.example.com
extra data on the document
./test/relaxng/tutor10_1_6.xml validation generated an internal error
./test/relaxng/tutor10_1_6.xml fails to validate
error detected at relaxng.c:5011
error detected at relaxng.c:5310
error detected at relaxng.c:5018
error detected at relaxng.c:5319
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated foo : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated foo : 0
Expecting no namespace for element foo
extra data on the document
./test/relaxng/tutor10_2_3.xml validation generated an internal error
./test/relaxng/tutor10_2_3.xml fails to validate
error detected at relaxng.c:5018
error detected at relaxng.c:5310
error detected at relaxng.c:5025
error detected at relaxng.c:5319
Expecting no namespace for element foo
extra data on the document
./test/relaxng/tutor10_2_4.xml validation generated an internal error
./test/relaxng/tutor10_2_4.xml fails to validate
error detected at relaxng.c:5018
error detected at relaxng.c:5310
error detected at relaxng.c:5025
error detected at relaxng.c:5319
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
Extra content for element addressBook: card
./test/relaxng/tutor10_7_3.xml validation generated an internal error
./test/relaxng/tutor10_7_3.xml fails to validate
xmlRelaxNGValidateAttribute(email): -1
xmlRelaxNGValidateAttribute(name): -1
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5046
xmlRelaxNGValidateDefinition(): validated addressBook : -1
error detected at relaxng.c:5053
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
Extra content for element addressBook: card
./test/relaxng/tutor10_8_3.xml validation generated an internal error
./test/relaxng/tutor10_8_3.xml fails to validate
xmlRelaxNGValidateAttribute(email): -1
xmlRelaxNGValidateAttribute(name): -1
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5046
xmlRelaxNGValidateDefinition(): validated addressBook : -1
error detected at relaxng.c:5053
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateDefinition(): validated ref : 0
xmlRelaxNGValidateDefinition(): validated start : 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateDefinition(): validated anyName : 0
xmlRelaxNGValidateDefinition(): validated anyName : 0
xmlRelaxNGValidateDefinition(): validated attribute : 0
xmlRelaxNGValidateDefinition(): validated text : 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateDefinition(): validated ref : 0
xmlRelaxNGValidateDefinition(): validated choice : 0
xmlRelaxNGValidateDefinition(): validated zeroOrMore : 0
xmlRelaxNGValidateDefinition(): validated element : 0
xmlRelaxNGValidateDefinition(): validated define : 0
xmlRelaxNGValidateDefinition(): validated grammar : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated em : 0
xmlRelaxNGValidateDefinition(): validated note : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
This diff is collapsed.
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateDefinition(): validated card : 0
Invalid attribute foo for element card
./test/relaxng/tutor11_2_2.xml validation generated an internal error
./test/relaxng/tutor11_2_2.xml fails to validate
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateAttribute(anyName): -1
error detected at relaxng.c:5054
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5061
Invalid attribute b for element card
./test/relaxng/tutor11_2_3.xml validation generated an internal error
./test/relaxng/tutor11_2_3.xml fails to validate
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateAttribute(anyName): -1
error detected at relaxng.c:5054
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5061
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateDefinition(): validated example : 0
xmlRelaxNGValidateAttribute(anyName): 0
xmlRelaxNGValidateAttribute(anyName): -1
xmlRelaxNGValidateAttribute(space): 0
xmlRelaxNGValidateDefinition(): validated example : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated em : 0
xmlRelaxNGValidateDefinition(): validated td : 0
xmlRelaxNGValidateDefinition(): validated tr : 0
xmlRelaxNGValidateDefinition(): validated td : 0
xmlRelaxNGValidateDefinition(): validated tr : 0
xmlRelaxNGValidateDefinition(): validated table : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated doc : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated givenName : 0
xmlRelaxNGValidateDefinition(): validated familyName : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
Expecting element name, got email
Extra content for element card: email
./test/relaxng/tutor3_2_1.xml validation generated an internal error
./test/relaxng/tutor3_2_1.xml fails to validate
error detected at relaxng.c:4998
error detected at relaxng.c:5046
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5005
error detected at relaxng.c:5053
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateAttribute(note): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): -1
xmlRelaxNGValidateAttribute(givenName): 0
xmlRelaxNGValidateAttribute(familyName): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
Extra content for element addressBook: card
./test/relaxng/tutor3_5_2.xml validation generated an internal error
./test/relaxng/tutor3_5_2.xml fails to validate
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5046
xmlRelaxNGValidateDefinition(): validated addressBook : -1
error detected at relaxng.c:5053
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
Relax-NG schema ./test/relaxng/tutor3_7.rng failed to compile
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated empty
xmlRelaxNGValidateDefinition(): validated prefersHTML : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated addressBook : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated bold : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated italic : 0
xmlRelaxNGValidateDefinition(): validated bold : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateDefinition(): validated italic : 0
xmlRelaxNGValidateDefinition(): validated bold : 0
xmlRelaxNGValidateDefinition(): validated span : 0
xmlRelaxNGValidateDefinition(): validated p : 0
xmlRelaxNGValidateAttribute(style): 0
xmlRelaxNGValidateDefinition(): validated span : 0
xmlRelaxNGValidateDefinition(): validated bold : 0
xmlRelaxNGValidateDefinition(): validated italic : 0
xmlRelaxNGValidateDefinition(): validated p : 0
Relax-NG schema ./test/relaxng/tutor4_4.rng failed to compile
Unimplemented block at xmlschemastypes.c:1138
xmlRelaxNGValidateDefinition(): validated number : 0
Unimplemented block at xmlschemastypes.c:1144
Unimplemented block at xmlschemastypes.c:1135
xmlRelaxNGValidateDefinition(): validated x : 0
Unimplemented block at xmlschemastypes.c:1135
xmlRelaxNGValidateDefinition(): validated y : 0
xmlRelaxNGValidateDefinition(): validated point : 0
Unimplemented block at xmlschemastypes.c:1141
Unimplemented block at xmlschemastypes.c:1141
The data does not cover the full element bad
./test/relaxng/tutor5_3_1.xml validation generated an internal error
./test/relaxng/tutor5_3_1.xml fails to validate
error detected at relaxng.c:5192
xmlRelaxNGValidateDefinition(): validated note : 0
xmlRelaxNGValidateDefinition(): validated bad : -1
error detected at relaxng.c:5201
xmlRelaxNGValidateAttribute(note): 0
xmlRelaxNGValidateDefinition(): validated ok : 0
xmlRelaxNGValidateAttribute(preferredFormat): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(preferredFormat): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
Invalid attribute preferredFormat for element card
./test/relaxng/tutor6_1_3.xml validation generated an internal error
./test/relaxng/tutor6_1_3.xml fails to validate
xmlRelaxNGValidateAttribute(preferredFormat): -1
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
error detected at relaxng.c:5054
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5061
xmlRelaxNGValidateAttribute(preferredFormat): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateAttribute(preferredFormat): 0
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated preferredFormat : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated preferredFormat : 0
xmlRelaxNGValidateDefinition(): validated card : 0
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
xmlRelaxNGValidateDefinition(): validated preferredFormat : 0
xmlRelaxNGValidateDefinition(): validated card : 0
Extra content for element preferredFormat: text
./test/relaxng/tutor6_2_4.xml validation generated an internal error
./test/relaxng/tutor6_2_4.xml fails to validate
xmlRelaxNGValidateDefinition(): validated name : 0
xmlRelaxNGValidateDefinition(): validated email : 0
error detected at relaxng.c:5046
xmlRelaxNGValidateDefinition(): validated preferredFormat : -1
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5053
Invalid attribute preferredFormat for element card
./test/relaxng/tutor6_3_1.xml validation generated an internal error
./test/relaxng/tutor6_3_1.xml fails to validate
xmlRelaxNGValidateAttribute(preferredFormat): -1
xmlRelaxNGValidateAttribute(email): 0
xmlRelaxNGValidateAttribute(name): 0
error detected at relaxng.c:5054
xmlRelaxNGValidateDefinition(): validated card : -1
error detected at relaxng.c:5061
Unimplemented block at xmlschemastypes.c:1132
Unimplemented block at xmlschemastypes.c:1132
xmlRelaxNGValidateDefinition(): validated vector : 0
Unimplemented block at xmlschemastypes.c:1138
Unimplemented block at xmlschemastypes.c:1138
Internal: failed to validate type float