Re: [Fwd: [Changing Kannel MIME parsing] (was: Re: Wappush Problems)]
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, April 8, 2003, at 11:51 AM, Paul Keogh wrote: >> >> 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. Yep. *Xml parser* parses the xml document, and we get an parser level error, if we have problems here. We got no parser level error, so the document should be ok. Aarno