axing-xml-parser: Swithch from read_line to read_upto(" ")
authorShaun McCance <shaunm@gnome.org>
Mon, 21 Jan 2013 16:17:24 +0000 (11:17 -0500)
committerShaun McCance <shaunm@gnome.org>
Mon, 21 Jan 2013 16:42:27 +0000 (11:42 -0500)
commit591fa7e011e9df23e8c07473e3b3c97dd9c1b749
tree1ebdc235e194fd9fc5583375e8b06884be2721ca
parenta729608ca4c38e3b4d75909939314913ce13c87e
axing-xml-parser: Swithch from read_line to read_upto(" ")

There were a few problems with using read_line to get the chunks
of data to parse. There's no way to determine if the stream ends
with a newline, which causes conformance problems. Also, it was
difficult to track multi-char newline sequences when the chars
weren't in the same parse chunk.

This uncovered a bug in g_data_input_stream_read_upto_finish,
which I've worked around. (bugs.gnome.org #692101)
axing-xml-parser.c
tests/results/element05.txt
tests/results/entities27.txt
tests/results/entities28.txt [new file with mode: 0644]
tests/xml/entities28-1.inc [new file with mode: 0644]
tests/xml/entities28.xml [new file with mode: 0644]