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

Van updated SLING-7791:
-----------------------
    Description: 
We are using the org.apache.sling.jcr.contentloader.ContentImporter API to 
import data from an UTF-8 encoded XML file into the JCR repository.

Only the ImportOptions has been customized, and the InputStream contains values 
such as 
{code:java}
liberty & equality
{code}
This will get saved as "*liberty equality*" when I expect "*liberty & 
equality*", which I don't understand as I never saw any issue posting such 
characters into the JCR.

org.apache.sling.jcr.contentloader dependency version is 2.1.10

  was:
We are using the org.apache.sling.jcr.contentloader.ContentImporter API to 
import data from an UTF-8 encoded XML file into the JCR repository.

Only the ImportOptions has been customized, and the InputStream contains values 
such as 
{code:java}
liberty & equality
{code}
This will get saved as "*liberty equality*" when I expect "*liberty & 
equality*", which I don't understand as I never saw any issue posting such 
characters into the JCR.


> ContentImporter does not import characters such as "&"
> ------------------------------------------------------
>
>                 Key: SLING-7791
>                 URL: https://issues.apache.org/jira/browse/SLING-7791
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Van
>            Priority: Major
>
> We are using the org.apache.sling.jcr.contentloader.ContentImporter API to 
> import data from an UTF-8 encoded XML file into the JCR repository.
> Only the ImportOptions has been customized, and the InputStream contains 
> values such as 
> {code:java}
> liberty & equality
> {code}
> This will get saved as "*liberty equality*" when I expect "*liberty & 
> equality*", which I don't understand as I never saw any issue posting such 
> characters into the JCR.
> org.apache.sling.jcr.contentloader dependency version is 2.1.10



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to