1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

Fixed a small prob, Daniel

This commit is contained in:
Daniel Veillard
2002-02-21 17:54:27 +00:00
parent 9eb146b92f
commit fcbfa2d9dd
2 changed files with 4 additions and 4 deletions

View File

@ -264,8 +264,8 @@ ctxt.parseChunk(chunk, len(chunk), 0)
chunk = "ar</foo>" chunk = "ar</foo>"
ctxt.parseChunk(chunk, len(chunk), 1) ctxt.parseChunk(chunk, len(chunk), 1)
reference = "startDocument:startElement foo {'url': 'tst'}: reference = "startDocument:startElement foo {'url': 'tst'}:" + \
characters: bar:endElement foo:endDocument:" "characters: bar:endElement foo:endDocument:"
if log != reference: if log != reference:
print "Error got: %s" % log print "Error got: %s" % log
print &quot;Exprected: %s&quot; % reference</pre> print &quot;Exprected: %s&quot; % reference</pre>

View File

@ -1500,8 +1500,8 @@ ctxt.parseChunk(chunk, len(chunk), 0)
chunk = "ar&lt;/foo&gt;" chunk = "ar&lt;/foo&gt;"
ctxt.parseChunk(chunk, len(chunk), 1) ctxt.parseChunk(chunk, len(chunk), 1)
reference = "startDocument:startElement foo {'url': 'tst'}: reference = "startDocument:startElement foo {'url': 'tst'}:" + \
characters: bar:endElement foo:endDocument:" "characters: bar:endElement foo:endDocument:"
if log != reference: if log != reference:
print "Error got: %s" % log print "Error got: %s" % log
print "Exprected: %s" % reference</pre> print "Exprected: %s" % reference</pre>