[MOBY-l] XML namespaces
Ken Steube
steube at sdsc.edu
Thu Oct 23 18:09:42 EDT 2003
How should I write my objects: GenericSequence or moby:GenericSequence?
The current batch of services are producing both and so I have to write my
services to check for both, which is a serious complication.
The only reason we should ever need an XML namespace like 'moby:' is if
someone's using a non-standard ontology.
We don't need 'moby:' and we should toss it from the XML generated by
execute() and from the XML output of all the services before this gets out
of hand.
Maybe switching to a better XML parser might make all this easier, but
it's not necessary to have the namespaces when an object comes from the
one-and-only default ontology and they should go.
Ken
-------------------------------------
Ken Steube steube at sdsc.edu
San Diego Supercomputer Center @ UCSD
San Diego, California USA
More information about the moby-l
mailing list