Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Update the CAS REST RSS service to allow namespaces to be defined in the RSS configuration file.
Tag format for the RSS configuration file suggested by Paul Ramirez on OODT-449. Examples shown below:
<namespace prefix="geo" uri="http://www.w3.org/2003/01/geo/wgs84_pos#" /> <namespace prefix="georss" uri="http://www.georss.org/georss" /> <namespace prefix="gml" uri="http://www.opengis.net/gml" />
Two RSS java classes have hard-coded 'cas' namespace definitions: RSSProductServlet and RSSProductTransferServlet. These classes both use a hashmap constant 'NS_MAP' to store namespaces and write them to the RSS output. With configurable namespaces, the 'cas' namespace definition could also be moved to the RSS config and picked up by the ProductServlet and TransferServlet from there instead of having hard-coded definitions:
<namespace prefix="cas" uri="http://oodt.apache.org/components/cas" />