The Wayback Machine - https://web.archive.org/web/20090330130445/http://www.tbray.org:80/ongoing/When/200x/2003/08/18/PieSchema02

Here is draft schemaware for snapshot 0.2 of PEAW (Pie/Echo/Atom/Whatever).

This is quite a lot better than the 0.1 cut. I took account of smart things that were said by Norm Walsh and Jeni Tennison.

One real improvement is that all the elements in <feed> and <entry> are nailed-down in fixed order, for three reasons:

  1. Life is easier for quickie script writers.

  2. It is possible to construct a slightly-less-unreadable XSD.

  3. There doesn’t seem to be a downside.

Aside from that, the schema is very close to the snapshot spec and also more idiomatic (I’m starting to get the hang of this RelaxNG stuff).

RelaxNG Again · Once again, this is written in the RelaxNG Compact Syntax. Here’s a strong claim: this is the best syntax currently available for writing schemas for XML languages. If you’re writing schemas, and you haven’t yet taken a good look at RNG, please stop now and do so. You’ll be doing yourself a favor.

Check out that schema, there are three things in there that seem pretty magical to me that were just no trouble at all to write down:

PEAW · I think it’s about ready to go, most of my gripes about the 0.1 snapshot have been addressed. I’d still like to dump the multipart/related bit, and I don’t think the way to point at a web address should be labeled Universal Republic of Love (how about <web> or <www> or <uri>), and the <generator> element has its content and attribute backwards, but none of these are showstoppers.

Oh yes, and please bring xml:base back, it’s not rocket science.

It’s getting to be about time to declare victory and turn to the software. Accordingly, ongoing now has a PEAW 0.2 syndication feed, which is valid per this schema and per the validator.


ongoing
software · G & M · Dadauthor · colophon · rights
picture of the day
Around August18, 2003: Dracon and Postel · Thinking of Bob · Wrong Profession? · Hot · Thermodynamics Of Hell Fire

What?
· Technology (61 fragments)
· · Publishing (91 more)


Serif · Sans-Serif
I work at Sun Microsystems. The opinions expressed here are my own, and neither Sun nor any other party necessarily agrees with them.
close