Added regression test for SF bug #584832, adapted from contributed test.
Added regression test for SF bug #584832, adapted from contributed
test.

tiran/expat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,tiran/expat,tiran/expat,libexpat/libexpat,libexpat/libexpat,tiran/expat,libexpat/libexpat