[ 
https://issues.apache.org/jira/browse/OODT-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris A. Mattmann resolved OODT-665.
------------------------------------

    Resolution: Fixed

- fixed in r1563373
  - updated RDF and RSS services to test if there is white space in a product 
type met key and if so:
     a) split the key string on whitespace; and then use 
WordUtils.capitalizeFully to turn into CamelCase and StringUtils.join to combine
     b) examine the value string and use StringEscapeUtils.escapeXml
  -also did this for the new JAXRS services (Ross L please make sure I got this 
right)
  I tested this on some keys within the context of my DRAT project on Github 
http://github.com/chrismattmann/drat/ and it worked great.


> CAS RDF and RSS product service doesn't allow product type met to have keys 
> with spaces
> ---------------------------------------------------------------------------------------
>
>                 Key: OODT-665
>                 URL: https://issues.apache.org/jira/browse/OODT-665
>             Project: OODT
>          Issue Type: Bug
>          Components: product server
>    Affects Versions: 0.6
>         Environment: discovered on the EDRN project.
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>             Fix For: 0.7
>
>
> The RDF and RSS services take product type metadata keys and if those keys 
> have spaces in them it spits out incorrect XML since the keys are mapped 
> directly to tags and tags cannot have spaces. We'll use a String library to 
> join any spaced keys into a CamelCase unspaced tag.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to