Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-24 Thread Peter Saint-Andre
Hi Matthias! Matthias Wimmer wrote: > Peter Saint-Andre schrieb: >>> Yes. In that case we would be able to use most (push) SAX parsers. >> >> Yes, you would still object? Or yes, you think that's fine? Please >> choose one (phrased better this time): > > Yes, I think it is fine then. > >> If we

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-24 Thread Matthias Wimmer
Peter Saint-Andre schrieb: Yes. In that case we would be able to use most (push) SAX parsers. Yes, you would still object? Or yes, you think that's fine? Please choose one (phrased better this time): Yes, I think it is fine then. If we specify that you must escape only the characters that t

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-23 Thread Peter Saint-Andre
Hi Matthias! Matthias Wimmer wrote: >>> I it really necessary, that RFC 3920bis mandates a server to reject such >>> XMPP streams? I very much dislike this requirement, as it would require >>> me to implement my own XML parser, as I don't know any parser I could >>> use, that could be configured t

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-23 Thread Matthias Wimmer
Hi Peter! Peter Saint-Andre schrieb: >> RFC3920bis even requires a server to check that this type of XML is not >> used and that a stream error has to be generated, if it is received. > We tried to clarify the error handling in rfc3920bis, and that text > reflected list consensus. Yes ... I even

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-23 Thread Peter Saint-Andre
Hi Matthias! Matthias Wimmer wrote: > Hi! > > There are several characters, that have predefined entities in XML, but > that do not need to be escaped in XML. > Examples for such characters are > ' and " in text nodes. > > E.g. due to the XML standard the following stanza would be valid XML: >

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-22 Thread Robin Redeker
On Sun, Jul 22, 2007 at 11:25:23PM +0200, Matthias Wimmer wrote: > Hi Robin! > > > Robin Redeker schrieb: > >>Why at all do these characters have to be escaped? > >I guess because many people did implement their own broken XML parsers > >in the past and many couldn't handle real XML, so they enfo

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-22 Thread Matthias Wimmer
Hi Robin! Robin Redeker schrieb: Why at all do these characters have to be escaped? I guess because many people did implement their own broken XML parsers in the past and many couldn't handle real XML, so they enforced escaping that character for the backward compatibility. (just a guess) I

Re: [Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-22 Thread Robin Redeker
On Sun, Jul 22, 2007 at 04:30:13PM +0200, Matthias Wimmer wrote: > Hi! > > There are several characters, that have predefined entities in XML, but > that do not need to be escaped in XML. > Examples for such characters are > ' and " in text nodes. > [...] > So I have two questions regarding this:

[Standards] Handling for characters that have entities, but XML does not require them to be escaped

2007-07-22 Thread Matthias Wimmer
Hi! There are several characters, that have predefined entities in XML, but that do not need to be escaped in XML. Examples for such characters are > ' and " in text nodes. E.g. due to the XML standard the following stanza would be valid XML: Yes, a > b! ... while RFC 3920 forbidds to generate