[MOBY-dev] XML elements into serviceNote get scaped
    Iván Párraga García 
    ivanp at mmb.pcb.ub.es
       
    Tue May 15 18:38:49 UTC 2007
    
    
  
Hi,
I'm working with jMoby and MoSeS. As part of the moby specification,
when a problem executing the service is encountered a mobyException must
be launched: as many as needed XML elements must appear in the
serviceNotes element in the response message. The problem is that the
symbols < and > get scaped for all those elements inside serviceNotes;
something like this:
<?xml version="1.0" encoding="UTF-8"?>
<moby:MOBY xmlns:moby="http://www.biomoby.org/moby">
  <moby:mobyContent>
    <moby:serviceNotes><moby:mobyException severity="2" >
<moby:exceptionCode>201</moby:exceptionCode>           
<moby:exceptionMessage>Method is empty or is not a valid method
name, applying default method: Atom_CyclohexaneWaterEnergyLomize
Valid methods: Atom_OctanolWaterEnergyEisenbergMcLachlan ... 
</moby:mobyException>
...
Is this a bug? or am I doing something bad?
Thanks,
-- 
------------------------------------------------
Iván Párraga García
Computer Scientist
Molecular Modelling & Bioinformatics Unit
INB - Instituto Nacional de Bioinformática
Josep Samitier 1-5
08028 Barcelona
Spain
tel.: +34 93 403 71 55
fax.: +34 93 403 71 57
e-mail: ivanp at mmb.pcb.ub.es
group page: http://mmb.pcb.ub.es 
pgp key: http://mmb.pcb.ub.es/~ivanp/pubkey.asc
------------------------------------------------
    
    
More information about the MOBY-dev
mailing list