[MOBY-dev] Problems using serviceInputParser method when themobyservice receives multiple Simple inputs

Edward Kawas edward.kawas at gmail.com
Fri Mar 23 18:39:32 UTC 2007


Hi Jose,

If I were you, I would look at the Perl moses code located in the cvs: 
	moby-live/Java/src/Perl
The way that Perl Moses does things is the best way to go about things.

Eddie


> -----Original Message-----
> From: moby-dev-bounces at lists.open-bio.org [mailto:moby-dev-
> bounces at lists.open-bio.org] On Behalf Of Jose Manuel Rodriguez
> Sent: Friday, March 23, 2007 10:59 AM
> To: markw at illuminae.com; Core developer announcements
> Subject: Re: [MOBY-dev] Problems using serviceInputParser method when
> themobyservice receives multiple Simple inputs
> 
> Maybe I don't have explain me OK (sorry for that)
> 
> The main idea that I am trying to advise is the form to call LibXML
> methods in MOBY library (Perl), they do not work on new versions of
> XML::LibXML.
> 
> Specifically:
> 
> In the package => MOBY::Client::SimpleArticle.pm
> In the method => createFromDOM
> code =>
> 
>     my $attr = $dom->getAttributeNode( 'articleName' );
>     my $articleName = $attr ? $attr->getValue : "";
> 
> 
> This above code (the actual one) don't work on 1.62 version of LibXML.
> 
> We should use the next code:
> 
>     my $attr = $dom->getAttributeNodeNS( 'http://www.biomoby.org/moby',
>     'articleName' );
>     $attr = $dom->getAttributeNode( 'articleName' ) unless defined $attr;
>     my $articleName = $attr ? $attr->getValue : "";
> 
> 
> Good weekend,
> José.
> 
> 
> 
> mark wilkinson wrote:
> > The attribute is necessary, but it can have a null ("") value
> >
> >
> > --
> > Mark Wilkinson
> > ...on the road!
> >
> >
> > -----Original Message-----
> > From: "Edward Kawas" <edward.kawas at gmail.com>
> > Date: Fri, 23 Mar 2007 06:50:53
> > To:"'Core developer announcements'" <moby-dev at lists.open-bio.org>
> > Subject: Re: [MOBY-dev] Problems using serviceInputParser method when
> the
> > 	mobyservice receives multiple Simple inputs
> >
> >
> >> Other question I have is we are obligate to add namespaces within MOBY
> >> xml's or not. The MOBY standard says something about that...
> >>
> >
> > I don't believe that it is necessary.
> >
> > Eddie
> >
> > _______________________________________________
> > MOBY-dev mailing list
> > MOBY-dev at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/moby-dev
> > _______________________________________________
> > MOBY-dev mailing list
> > MOBY-dev at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/moby-dev
> >
> >
> 
> 
> --
> José Manuel Rodríguez Carrasco            e-mail: jmrodriguez at cnio.es
> Tlfn:    (+34) 91 732 80 00 ext: 2256     Fax:    (+34) 91 224 69 76
> Bioinformatic Unit
> Spanish National Cancer Center (CNIO) http://www.cnio.es
> Zip Code: 28029
> Address: C/. Melchor Fernandez Almagro nº 3, Madrid (Spain)
> 
> 
> 
> **NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los
> ficheros adjuntos, pueden contener información protegida para el uso
> exclusivo de su destinatario. Se prohíbe la distribución, reproducción o
> cualquier otro tipo de transmisión por parte de otra persona que no sea el
> destinatario. Si usted recibe por error este correo, se ruega comunicarlo
> al remitente y borrar el mensaje recibido.
> **CONFIDENTIALITY NOTICE** This email communication and any attachments
> may contain confidential and privileged information for the sole use of
> the designated recipient named above. Distribution, reproduction or any
> other use of this transmission by any party other than the intended
> recipient is prohibited. If you are not the intended recipient please
> contact the sender and delete all copies.
> 
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev





More information about the MOBY-dev mailing list