Lists Home |
Date Index |
- To: "Richard Tobin" <email@example.com>,<firstname.lastname@example.org>
- Subject: RE: [xml-dev] Re: Hostility to "binary XML"
- From: "Dare Obasanjo" <email@example.com>
- Date: Tue, 23 Nov 2004 14:49:59 -0800
- Thread-index: AcTRqiJS0jf5CnSHTMiCwwrRveh1/gAA/7gA
- Thread-topic: [xml-dev] Re: Hostility to "binary XML"
> -----Original Message-----
> From: Richard Tobin [mailto:firstname.lastname@example.org]
> Sent: Tuesday, November 23, 2004 2:16 PM
> To: email@example.com
> Subject: Re: [xml-dev] Re: Hostility to "binary XML"
> I think that if you really wanted to, you could get 99% of
> this speed up anyway. Don't check the characters, check the
> name against the DTD, and then only if it isn't declared
> check the characters and then fake a declaration so it will
> be quick next time.
Then you are requiring a schema. All sorts of application specific
optimizations can be made to the format and parser if you have a fixed
schema for the data you expect to consume. As Derek pointed out earlier,
most of the binary XML proposals out there all assume some sort of fixed
schema or pick some subset of XML to target.
The interesting question is whether a general solution exists (e.g. a
solution that encompases both the use cases of XML Web Services and Web
site syndication using RSS 2.0) .
PITHY WORDS OF WISDOM
It is impossible to make anything foolproof because fools are ingenious.
This posting is provided "AS IS" with no warranties, and confers no