NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/45690 ("atf-report -o xml" can generate malformed XML)
The following reply was made to PR bin/45690; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: jmmv%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/45690 ("atf-report -o xml" can generate malformed XML)
Date: Tue, 12 Aug 2014 14:48:30 +0300
Julio Merino wrote:
> * PR bin/45690: Make atf-report convert any non-printable characters to
> a plain-text representation (matching their corresponding hexadecimal
> entities) in XML output files. This is to prevent the output of test
> cases from breaking xsltproc later.
Looks like this is still not fully fixed, because the output from a
test case just broke xsltproc again:
xsltproc --nonet --novalid
/bracket/i386/test/2014.08.11.01.54.12/anita/atf/tests-results.xsl
/bracket/i386/test/2014.08.11.01.54.12/anita/atf/test.xml
>/bracket/i386/test/2014.08.11.01.54.12/anita/atf/test.html
/bracket/i386/test/2014.08.11.01.54.12/anita/atf/test.xml:1310: parser error
: PCDATA invalid Char value 12
255;::zz&#187;&#187;&#251;&#251;&#3;&#3;&#8;&#8;
^
/bracket/i386/test/2014.08.11.01.54.12/anita/atf/test.xml:1310: parser error
: PCDATA invalid Char value 12
55;::zz&#187;&#187;&#251;&#251;&#3;&#3;&#8;&#8;
^
/bracket/i386/test/2014.08.11.01.54.12/anita/atf/test.xml:1312: parser error
: PCDATA invalid Char value 11
p;#254;%&#254;q&#254;q&#254;&#189;&#254;&#189;&#254;
^
The offending characters are control-K (11 decimal) and control-L (12 decimal).
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index