ietf-822
[Top] [All Lists]

XML part and MIME boundary

2007-02-02 10:36:11

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

<Prev in Thread] Current Thread [Next in Thread>