Thanks, Igor! Any one of those options sounds reasonable to me.Anders Riutta
WikiPathways/Gladstone Institutes...
Hi Gary,
Yes, that would be useful. I've seen two options for this.
1) Put the version in the media type. Drawback: need to register with IANA for every new BioPAX version.
vnd.biopax3.rdf+xml
vnd.biopax4.rdf+xml
2) Specify a version in the Accept header. Drawback: this is perfectly valid, but some HTTP clients don't support it.
vnd.biopax.rdf+xml; version=3
vnd.biopax.rdf+xml; version=4
Github uses the first option, but they don't register their media types with IANA: https://developer.github.com/v3/media/
Anders
...
I think, such fine-tuning is not required, and just "vnd.biopax.rdf+xml " is ok,because a) one can tell L2 from L3 by looking in the RDF header (and e.g. Paxtools does not have to know in advance which level it is); b) BioPAX L2 better not use anymore
(it's easy to convert to Level3 with Paxtools, lossless) ;)
On Thursday, February 12, 2015 at 3:06:54 PM UTC-5, Anders Riutta @ Gladstone wrote:
Hi Gary,
Yes, that would be useful. I've seen two options for this.
1) Put the version in the media type. Drawback: need to register with IANA for every new BioPAX version.
vnd.biopax3.rdf+xml
vnd.biopax4.rdf+xml
2) Specify a version in the Accept header. Drawback: this is perfectly valid, but some HTTP clients don't support it.
vnd.biopax.rdf+xml; version=3
vnd.biopax.rdf+xml; version=4
Github uses the first option, but they don't register their media types with IANA: https://developer.github.com/v3/media/
Anders
...