check that libxml error ends in newline before replacing with a period
check that libxml error ends in newline before replacing with a period

libcellml/buildbot-testing,nickerso/libcellml,MichaelClerx/libcellml,nickerso/libcellml,cellml/libcellml,MichaelClerx/libcellml,hsorby/libcellml,hsorby/libcellml,libcellml/buildbot-testing,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,cellml/libcellml,hsorby/libcellml,cellml/libcellml,MichaelClerx/libcellml,nickerso/libcellml