On Sat, Oct 25, 2008 at 11:48 AM, Artur Hefczyc
<[EMAIL PROTECTED]> wrote:
>> Just so you know, that parser is not a conforming XML parser. Tigase
>> happily accepts data that is not XML-well-formed, and happily routes
>> or delivers it.
> That's true but please note that XMPP stream is not really XML stream
> either.
> I would rather call my parser: XMPP parser then.

It's true that legal XML can be illegal XMPP, but legal XMPP cannot be
illegal XML (quibbles about stream restarts aside), so if the parser
is letting through illegal XML, it's almost certainly letting through
illegal XMPP, too.

> Of course if the XMLNS validation would be 1% of all operations
> performed by the parser it could be probably ignored.
> I think, however that XMLNS validation could require even
> more processing than all other parser tasks.

I'd really love to see a measured figure, but I can't see why anyone
would want to implement it just to prove it's not worth implementing.

/K

Reply via email to