WPS
WPS copied to clipboard
Add URL mime type
Add a specific mime type for URLs so that clients now which output is a link.
Could be used/tested in the WPS4R process wpsSession.R
. I could define it for R only, but I think this is useful for the whole WPS. Is there a documentation for adding new mime types?
Links encoded as complex data? Literal data with the xs:anyURI
data type should be the better fit:
<wps:LiteralData dataType="xs:anyURI">http://www.example.org/</wps:LiteralData>
And using the URI scheme part, it should be easy to check if the URI can be resolved…
USGS/CIDA contributed LiteralAnyURIBinding.java against "xs:anyURI" in the December '12 code sprint. This might be of use....