Sergey,
I have no problem with more readable languages. I think of XML as a
ascii based "interchange" language, and not something to be read by
human being, but it would seem a lot of others disagree.
I'm just saying that we shouldn't have both, because there will always
be some incompatibility between the two and that will cause headaches,
especially when people need to "translate" from one to the other *and*
visa versa.
Cheers,
-Polar
Sergey Beryozkin wrote:
Hi Polar
The reason I like the idea is that it wil make CXF more appealing to a wider
audience.
This is one of those areas where the religious debetae does not really help.
Yes, most people are using
XMLSchema, but there's a fairly large group of developers believing RelaxNG has
the edge in terms of simplicity, in terms of making it easy to support the
compatible evolution of XML (Web) services, etc...
Java JBI spec uses RelaxNG schema...
Making it possible for people to choose between RelaxNG and XMLSchema will just
make CXF more popular and bring more developers under its tent, as simple as
that.
Cheers, Sergey
I don't see why we need yet another way to write things in CXF.
The XML schemas serve as the single definitive executable
'specification' language for
the various bits of XML needed to configure and use CXF.
It's bad enough that there is some disconnect between XML schemas and
the java code and keeping those consistent can be a nightmare, then to
add another level of indirection?
I'm no fan of XML, or programming in XML, but it's already hard enough
to try and figure this stuff out and what's going on.
If you were going to use this RelaxNG stuff, then there should be a push
to *completely* eliminate XML schema from the entire project and just
use RelaxNG (or something of the sort) as the single definitive
executable specification language.
Just my 27,255.55 Turkish Lira, :-)
-Polar
James Strachan wrote:
Incidentally there's an Ant task for working with Trang which could be
easily used in a maven plugin to turn relax or example XML documents
into XSDs...
http://www.dehora.net/code/trang/trangtask.html