XML part and MIME boundary

Francesco Gennai <[email protected]>
Newsgroups gmane.ietf.rfc822
Message-ID <[email protected]>
Hi All,

in a MIME multipart message, should the last line of an XML part 
(application/xml) end with a CRLF before the CRLF belonging to the 
boundary line ?

Here is an example without the CRLF at the end of the last XML line:

------=_NextPart_000_104C2_01C746DB.01C442D0
Content-Type: application/xml;
        name="test.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
        filename="test.xml"

<?xml version="1.0" encoding="utf-8"?>
<xtest>
....xml lines removed.....
</xtest>
------=_NextPart_000_104C2_01C746DB.01C442D0

Is it correct ?

or should it be:

  ........ . . ..
.....
</xtest>

------=_NextPart_000_104C2_01C746DB.01C442D0

Regards,
Francesco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.