Lines Matching refs:instance
55 # handle a valid instance
62 instance = node.prop("dtd")
63 if instance == None:
64 instance = ""
68 instance = instance + child.serialize()
73 doc = libxml2.parseDoc(instance)
78 log.write("\nFailed to parse correct instance:\n-----\n")
79 log.write(instance)
85 print "instance line %d" % (node.lineNo())
96 # print "validating instance %d line %d leaks" % (
100 log.write("\nFailed to validate correct instance:\n-----\n")
101 log.write(instance)
108 # handle an invalid instance
115 instance = node.prop("dtd")
116 if instance == None:
117 instance = ""
121 instance = instance + child.serialize()
127 doc = libxml2.parseDoc(instance)
132 log.write("\nStrange: failed to parse incorrect instance:\n-----\n")
133 log.write(instance)
138 print "instance line %d" % (node.lineNo())
151 # print "validating instance %d line %d leaks %d bytes" % (
155 log.write("\nFailed to detect validation problem in instance:\n-----\n")
156 log.write(instance)