RelaxNG Compact Syntax vs XML Schemas: impressive!

Note: this entry has moved.

I've reading about blogging formats, undergoing specs, and the like, and I eventually ended in Tim Bray weblog, and his multi-version schema for PIE/ECHO/ATOM/Whatever (PEAW). You can look at the RelaxNG Compact Syntax version as well as the XML Schema version.
Boy, 2Kb vs 6kb!! And the RelaxNG version is actually FAR more readable! And it uses the built-in XSD Types! Please, you NEED to have a look at both.

I've implemented the Schematron XML validation language for .NET... maybe I should start having a look at RelaxNG now :). However, I saw a RelaxNG folder in the Mono source, so it seems those guys are beating MS this time... or will we have a surprise in Whidbey?
As a developer, I'd love to have the choice in .NET to use one or the other, specially because XSD is not easy to tackle at first, and many developers completely ignore its capabilities, and design plain wrong schemas. RelaxNG looks so much simple that it would be quite easy to get up to speed designing complex schemas with it. And of course, there's a non-compact XML version too.

1 Comment

Comments have been disabled for this content.