WPS icon indicating copy to clipboard operation
WPS copied to clipboard

Add URL mime type

Open nuest opened this issue 10 years ago • 2 comments

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?

nuest avatar Apr 12 '14 10:04 nuest

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…

autermann avatar Apr 12 '14 10:04 autermann

USGS/CIDA contributed LiteralAnyURIBinding.java against "xs:anyURI" in the December '12 code sprint. This might be of use....

tkunicki avatar Apr 25 '14 04:04 tkunicki