Home | History | Annotate | Download | only in libxml2

Lines Matching refs:schema

57 def handle_valid(node, schema):
88 ctxt = schema.relaxNGNewValidCtxt()
110 def handle_invalid(node, schema):
141 ctxt = schema.relaxNGNewValidCtxt()
170 schema = ""
174 schema = schema + child.serialize()
178 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
183 log.write("\nFailed to compile correct schema:\n-----\n")
184 log.write(schema)
196 schema = ""
200 schema = schema + child.serialize()
204 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
209 log.write("\nFailed to detect schema error in:\n-----\n")
210 log.write(schema)
214 # log.write("\nSuccess detecting schema error in:\n-----\n")
215 # log.write(schema)
298 schema = handle_incorrect(tsts[0])
304 schema = handle_correct(tsts[0])
313 if schema != None:
315 handle_valid(valid, schema)
317 handle_invalid(invalid, schema)