Utterances of a Zimboe

Programming the Internet.

Schema is the protocol

leave a comment »

Just a little note regarding my last post about encodings: encoding is just encoding, and only XML schema defines a ‘concrete’ protocol. (Yeah, yeah, basic stuff. But I’ve seen this being mixed up.)

More precisely, it’s schema+encoding that define a concrete protocol, but if we’re assuming the verbose encoding (‘normal’ XML, for debugging), it’s the schema alone that suffices for defining the protocol. And, naturally, each version of an XML schema defines a different protocol. Due to the flexible processing of XML, apps are quite often able to handle several protocols. (Which albeit are/shouldbe/mustbe quite similar.)

And as encodings are completely isolated from the schema, those are transparent for the application.

Btw., this is no way an academic discussion, this is pure practice. I’m into implementation currently, all major research is on the hold currently.


Written by Janne Savukoski

September 25, 2007 at 11:31 am

Posted in Technology

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: