Re: [xml] New user, evaluating XML libraries

Hi Daniel,

Daniel Veillard <veillard redhat com> writes:

  There is no functional XSD validator. Go to the xmlschemas-dev
archive at W3C, check the last 5 questions from Michael Kay (who is
a Schemas implementor and one of the W3C spec writers), they are unanswered
for weeks now, nobody can tell what it is supposed to do. Trying to use
XSD to promote interoperability or validation of data is kind of a joke.
Relax-NG on the other hand is an ISO standard, has a formal specification
and can be read and understood by most programmers in a matter of a couple
of days.

While what you say could be true, most XML parsers these days support
XML Schema while there is hardly any that support Relax-NG. Also there

  Technically nor XSD nor RNG are handled by parsers, it's sitting on top.

are a lot of industry standards organizations that managed to define
interoperable schemas that describe fairly complex XML vocabularies.
Finally, one last thing, that a lot of people tend to overlook, is that
it is fairly straightforward (in most cases) to provide XML data
binding (generated types in a programming language that represent the
given vocabulary) from XML Schema. I do not think it will be anywhere
as easy or at all possible to do the same with Relax-NG.

  When you mean data bindings, it's records, even easier in RNG than XSD,
and RNG usually reuses XSD datatypes. I see no positive differential for
XSD here. Anyway the initial question was *not* about data bindings,
and further exchanges showed that XSD (nor RNG) was not part of the picture,
so please could you keep this focused on what is really needed and not
what you would like to promote, thanks.

Daniel, I do not want to start a flame war here but I think you are being
contradictory here. The OP said that he is not sure whether he needs XML
Schema validation or not. Instead of just ignoring this topic altogether,
in your reply you started spreading FUD about XSD and promoting Relax-NG
(about which OP haven't said a word). Now when I present arguments against
your XSD FUD, you are calling it promotion and off-topic. Not very nice,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]