[eml-dev] EML validation in Ruby on Rails
Ramón Pérez Pérez
ramon.pperez at gmail.com
Mon Sep 24 04:41:38 PDT 2012
Hi Claas,
It seems that the show action returns only the string with the xml code, not a file.
Document.file requires a path parameter, instead you can use Document.string to
generate a xml document with the @response.body.
I hope to help you!
Best,
Ramón
El 24/09/2012, a las 09:48, ctpfaff at arcor.de escribió:
> Dear EML developers
>
> I am not quite sure if this is the right place to post my question
> because it is Ruby on Rails related, but I got no answer on other places
> I posted it already.
>
> I have integrated an EML export into the BEFdata portal
> https://github.com/befdata/befdata which is a data management
> software for biodiversity ecosystem functioning experiments,
> originally developed for the BEF-China experiment.
>
> I stuck at the moment with the Ruby on Rails test for validating the exported
> EML files against the XSD file. I have already posted my question in two
> places with code examples:
>
> http://tinyurl.com/8pwpjg8
>
> http://tinyurl.com/chkdmf2
>
> Maybe one of you has an Idea how to get the validation test working. Any help
> would be appreciated.
>
> Best Regards Claas
> _______________________________________________
> Eml-dev mailing list
> Eml-dev at ecoinformatics.org
> http://lists.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/eml-dev
--
Ramón Pérez Pérez
Grupo de Ecología Terrestre.
Departamento de Ecología.
Centro Andaluz de Medio Ambiente, Universidad de Granada - Junta de Andalucía
Avda. del Mediterráneo S/N. 18006. Granada. España
Blog - http://rpperez.blogspot.com
http://www.iecolab.es
Tel: +34 958249748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/ecoinformatics/pipermail/eml-dev/attachments/20120924/5c83a600/attachment.html>
More information about the Eml-dev
mailing list