[ 
https://issues.apache.org/jira/browse/CMIS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838887#action_12838887
 ] 

Florent Guillaume commented on CMIS-130:
----------------------------------------

The problem is how we generate an atom:id, which is an IRI, from the 
cmis:objectIds we have. Today the code just does: 
    return "urn:x-children:" + id; 
but this is not always (as you saw) a legal IRI. 

One possible fix I'll be testing more in depth as soon as I have the time is to 
do: 
    return "urn:x-children:" + UrlEncoding.encode(id, Profile.IPATH.filter()); 


> InvalidCharacterException thrown when creating a feed
> -----------------------------------------------------
>
>                 Key: CMIS-130
>                 URL: https://issues.apache.org/jira/browse/CMIS-130
>             Project: Chemistry
>          Issue Type: Bug
>            Reporter: Amélie Avramo
>
> org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 
> 0x7b({) is thrown when setting the feed Id at feed creation.
> I guess that it comes from Abdera (I've created a JIRA case in Abdera issue 
> tracker) but I'm surprised that there is no problem with link creation, the { 
> is correctly escaped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to