Re: namespace support in POM.xml ?

2008-05-22 Thread Bryon Jacob
Are there any tools like jaxb that work with relaxng? To the best of my knowledge, there are not (for java). The language "binding" frameworks for RelaxNG that I have seen generally involve annotating the RelaxNG grammar with explicit hints about how to map schema elements to object mode

Re: namespace support in POM.xml ?

2008-05-22 Thread Bryon Jacob
In particular, could you compare in detail this relaxng method and the similar xml schema approach using substitution groups and abstract schema types? (note that the substitution group part of this is unnecessary but results in easier to read xml)? After studying your blog post I don't

Re: namespace support in POM.xml ?

2008-05-22 Thread Bryon Jacob
On May 21, 2008, at 9:56 AM, Jason van Zyl wrote: Bryon, How would you compare this with a method like this using XML Schema. I'm not a huge fan of XSD, but there is a lot of tooling for XSD especially in IDEs and that would be something we have to consider. Do you actually use this metho

Re: namespace support in POM.xml ?

2008-05-18 Thread Bryon Jacob
I wrote a kinda lengthy blog post about doing this sort of thing: http://freedomandbeer.com/posts/extensible-xml-with-xml-namespaces-and-relaxng RelaxNG is a fantastic language for specifying schemas for XML - the grammar notation is very natural to write in. Allowed elements are specifie