Hello,

Consider a test named "|i386 float AT&T mnemonic|" (taken from the
binutils package). Running this test with "runtest --xml" produces the
following XML fragment:
> |<test> <input></input> <output></output> <result>PASS</result>
> <name>i386 float AT&T mnemonic</name> <prms_id>0</prms_id> </test>|
Not that the '&' character is not escaped, and the resulting XML is not
valid. Here's how the above fragment should have looked like:
> |<test> <input></input> <output></output> <result>PASS</result>
> <name>i386 float AT&amp;T mnemonic</name> <prms_id>0</prms_id> </test>|
DejaGnu versions 1.5.1, 1.5.3 and 1.6 are affected.

Regards,
Andrey.


_______________________________________________
Bug-dejagnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-dejagnu

Reply via email to