tests/data: more XML-compliance via %LT and %GT macros in email addresses

Reduce number of files failing `xmllint --format` from 133 to 57 (-76)
(3% of 1894), by replacing `<` and `>` with new macro `%LT` and `%GT`,
in most places, which is in email addresses (192 lines).

Follow-up to a9ec2a676c #19491

Closes #19470
This commit is contained in:
Viktor Szakats 2025-11-11 20:21:44 +01:00
parent 97169a91d9
commit de49cc89ab
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
80 changed files with 195 additions and 193 deletions

View file

@ -40,7 +40,7 @@ smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
-F "=@%LOGDIR/test%TESTNUMBER.txt;headers=<%LOGDIR/headers%TESTNUMBER"
-H "From: different"
-H "To: another"
-H "Reply-To: <followup@example.com>"
-H "Reply-To: %LTfollowup@example.com%GT"
</command>
<file1 name="%LOGDIR/test%TESTNUMBER.txt">
This is an attached file.
@ -66,8 +66,8 @@ s/boundary=------------------------[A-Za-z0-9]*/boundary=-----------------------
</strippart>
<protocol crlf="yes">
EHLO %TESTNUMBER
MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com>
MAIL FROM:%LTsender@example.com%GT
RCPT TO:%LTrecipient@example.com%GT
DATA
QUIT
</protocol>
@ -76,7 +76,7 @@ Content-Type: multipart/mixed; boundary=----------------------------%CR
Mime-Version: 1.0%CR
From: different%CR
To: another%CR
Reply-To: <followup@example.com>%CR
Reply-To: %LTfollowup@example.com%GT%CR
%CR
------------------------------%CR
Content-Type: multipart/alternative; boundary=----------------------------%CR