Forgot your password?
typodupeerror

Comment Re:Just Say NO! (Score 1) 111

There's no such thing as a perfect schema language in a general sense. It all depends on the application at hand. Actually, trying to be perfect is one of the main reasons for the W3C XML Schema bloat; they simply try to squeeze too much into a single specification.

RELAX NG is much more streamlined; it focuses on specifying grammars for XML structures. Nothing more. I doesn't try to glue on concepts like object orientation (which is another reason for the W3C XML Schema blur). It's just very pure and hence easy and intuitive to learn and use.

Also, with the recent addition of the Compact Syntax, editing and reading schemas has never been easier. Utilites for working with the compact syntax can be found here and here.

So even though there is no perfect schema language, I'd say RELAX NG is far more perfect than W3C XML Schema in many situations. If you have applications that require W3C XML Schema, you can use Trang to convert your RELAX NG schemas.

Slashdot Top Deals

"my terminal is a lethal teaspoon." -- Patricia O Tuama

Working...