On Fri, Dec 11, 2009 at 06:18, Egon Willighagen
<[email protected]> wrote:

> Is there any special reason for using this set up, instead of just
> putting all element in the same
> "http://taverna.sf.net/2008/xml/plugins"; namespace?

I generally agree with you and favour always having a namespace and
having it on all elements in the document.

However, in this case I wanted to make the XML easier to write by
hand, and not every developer is familiar with XML namespaces. As I
said it should also work if you did just:

<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.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
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

Reply via email to