On Fri, Dec 11, 2009 at 11:26 AM, Stian Soiland-Reyes <[email protected]> wrote: > However, in this case I wanted to make the XML easier to write by > hand, and not every developer is familiar with XML namespaces.
But that would also be achieved if you would not use a NS prefix at all... not? > As I said it should also work if you did just: > > <plugins> So, just make this: <plugins xmlns="http://taverna.sf.net/2008/xml/plugins"> > <plugin> > ... > </plugin> > </plugins> > > To allow XMLBeans to deserialise both this and the namespaced version > (which can also hint at the XSD) I needed to make the element form > unqualified. That sounds like one more reason for not using tools like XMLBeans :) Never really liked them. What I don't get about this statement is that all elements are 'namespaced' anyway... it's just that some may have a "" namespace... I do not know how XMLBeans addresses that, and perhaps its limitations indeed require the unqualified trick... Egon -- Post-doc @ Uppsala University Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
