[MOBY-dev] namespaces in Moby (and generally)
Paul Gordon
gordonp at ucalgary.ca
Mon Apr 10 16:48:58 UTC 2006
The moby namespace is defined here:
http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Docs/MOBY-S_API/InputMessage.html
So Ivan's is incorrect as far as I can see...no disrespect to the
Spanish. I've noticed they have the most inconsistencies with the API,
but that's because they are also producing most of the services that
actually work! :-) It'd be great if we could all get together again
some time, now that we have a lot of clients and servers, and work out
these interoperability kinks more efficiently...
Martin Senger wrote:
> Hi all (and perhaps especially Paul),
> I am unsure if I am doing namespace things properly in jMoby. Perhaps
> somebody can enlighten me on the topic. Thanks in advance.
> When I am parsing a moby XML I assume that the elements and attributes
> either do not have any namespace attached, or that they have the namespace
> exactly like this: http://www.biomoby.org/moby.
> But I have this namespace hard-coded (actually taken from one of Paul's
> classes in jMoby). Is this correct, or should I rather read the parsed
> XML, and find there the namespace definition (in this case in the MOBY
> element:
>
> <moby:MOBY xmlns:moby='http://www.biomoby.org/moby'>...
>
> and to use the string that is defined there? For example, recently I was
> in a discussion with Ivan from INB, his message started as:
>
> <moby:MOBY xmlns:moby='http://www.biomoby.org/moby-s'>...
>
> Thanks and with regards,
> Martin
>
>
More information about the MOBY-dev
mailing list