On Wed, 16 Apr 2008 14:41:11 -0300, "bulia byak" <buliabyak@...> wrote:
> On Wed, Apr 16, 2008 at 2:09 PM, Ted Gould <ted@...> wrote:
>> Yes, I'm not quite how to do this in XSD, but it seems that it has to
>> doable. I'd really hate to have to change the XML format just to be
>> able to represent it in XSD. I'm not sure that's a good trade off.
>> Can some XML expert step up here? :)
> Just don't use XSD. It's wrong to assume that of all schema
> languages, this one is in any way special or "official". It's just one
> of the many, and a quite poor one at that. As for me, I prefer
> Schematron, where such check would be trivial.
To underscore this, my impression was that XSD originally *was* more or
less the "official" XML schema language, but it sucked so badly that its
official position was eroded. In any case, Schematron and RelaxNG are
much better alternatives.