yes, but I was talking about a default handler for a particular
application, the default handler for XML in a message passing
application for XML that it doesn't understand but is still well
formed might be to put it in a central store of unrouted messages for
later retrieval, or the default handler for a presentation application
might be to apply generic presentational rules to unknown markup, for
example determining by structure that the unknown markup is most
likely meant to be represented as a List, Table, a document format, is
a database dump of some sort etc. etc. Generic rules about XML above
the parsing rules can be determined, dependent on your application
scope.
Cheers,
Bryan Rasmussen
On Sat, Apr 12, 2008 at 3:26 AM, Len <cbullard@hiwaay.net> wrote:
> The rules of the XML processor are parsing rules.
>
> The rules of the language encoded in XML aren't.
>
> It's only oxymoronic if the language only conveys the rules of XML.
>
> That isn't all that useful. ;-)
>
> len
>
>
>
> From: bryan rasmussen [mailto:rasmussen.bryan@gmail.com]
>
>
>
> If I have an application that takes all XML in, I look for first a
> specific format handler or then fall back to the default handler for
> unrecognized XML in my application. The default handler is the XML
> format handler and the format is XML.
>
> If I have an application that handles two formats and each of them has
> a handler then if I get a format X that I don't recognize and I dump
> it, then the format isn't handled and the format isn't from the
> viewpoint of my application a format.
>
> If I think of format handler in these ways then obviously there can't
> be a format without a format handler. I'm not sure if that was what
> Len meant though because it renders the statement somewhat oxymoronic.
>
>
>