sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-7791) ContentImporter does not import characters such as "&"
Date Mon, 30 Jul 2018 08:33:00 GMT

     [ 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 &amp; 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.

  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
"*liberty &amp; equality*".

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 &amp; 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.



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

Mime
View raw message