RE: [Fwd: [Changing Kannel MIME parsing] (was: Re: Wappush Problems)]
"Paul Keogh" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> > forwarded to the list. > > Paul, this is something for you I guess ;) > >From what I have read in the WAP 2.0 Specifications the PPG Documents should be formatted as correct XML. The specification of XML is lovely and vague, whilst most of it spends a lot of time stating that both CR and LF are valid characters the only advice about a valid end of line is that in Chapter 2.11(for example http://www.w3.org/TR/REC-xml#sec-line-ends). This states that processors should always pass applications end-of-lines formatted as LFs only. Its a little difficult to stretch the definition to say that this implies that all XML must be terminated by LF only but nowhere do I see the reverse either... In short why does this thread consider LF not to be a valid end-of-line? The PUSH document is MIME encoded. The PAP bodypart of that MIME document is an XML document. We were, as far as I was aware, discussing the parsing of *MIME* terminators, and not the terminators of whatever happens to be the content of the individual MIME bodyparts.