[DAS] MyDAS / DASRegistry and valid XML

Leyla Garcia ljgarcia at ebi.ac.uk
Fri Aug 31 12:27:32 UTC 2012


Hi Oliver,

It seems that when no header is specified, MyDas indeed is responding 
with JSON by default, not sure if that is the case. The current JSON 
response in MyDAS does not correspond to the spec so it will be totally 
removed, we are working on it.

What response do you get when you manually try your URL's, JSON or XML? 
If it is XML, then the problem could be something in the Registry 
Validator.

We, in UniProt, had an issue with the Registry validator some months 
ago. I would suggest to also the help desk for the DAS Registry. 
Unfortunately, I do not know the URL, maybe someone else in the list? I 
tried the "Help" link in the Registry but it takes me to a complete 
different place.

Cheers,

Leyla

On 31/08/2012 12:48, Pelz, Oliver wrote:
> Dear Group,
>
> I am currently trying to register my MyDAS sources with DASRegistry.
>
> Since I had some problems with Dalliance, Leyla Garcia fixed some
> parameter filtering and URL encodings
> (http://www.mail-archive.com/das@lists.open-bio.org/msg00598.html) and
> made a new "Mydas 1.6.10-SNAPSHOT" which fixed my problems and which I am
> currently using .
>
>
> I used the validator on the site:
> http://www.dasregistry.org/validateServer.jsp because my sources had some
> errors when I tried to register them.
> If I try to validate my source:
>
> http://genomernai.de/DASGenomeRNAi/das/GenomeRNAiHumanPhenotypeDatasource
>
> With the settings:
>
> capabilities:  sources,stylesheet,features,types,entry-points  (I multi
> selected it, but you can test single ones as well)
>
> And the segment id : 6:133119869,133155732
>
> I get errors of that kind:
>
> "RegReportErrorHandler.Fatal Line Number:1 column number:1 Content is not
> allowed in prolog. the document is NOT valid."
>
> A quick google for "Content is not allowed in prolog." shows me that there
> mustn't be content before the <xml> tag when parsing xml.
>
> If I look into my Chrome's network activities, I see that the XML response
> is valid for a DAS request to e.g.
> http://genomernai.de/DASGenomeRNAi/das/GenomeRNAiHumanPhenotypeDatasource/e
> ntry_points
>
>
> But maybe the DASRegistry interprets the URL encoding as JSON ? If I do a :
> curl -O
> http://genomernai.de/DASGenomeRNAi/das/GenomeRNAiHumanPhenotypeDatasource/e
> ntry_points
>
> I get a JSON response so maybe Mydas sends JSON and DASRegistry expects
> valid XML?
>
> Thanks in advance for your help
>
> Oliver
>




More information about the DAS mailing list