Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android2csv: CDATA content are removed #73

Open
Neoklosch opened this issue May 22, 2015 · 0 comments · May be fixed by #104
Open

android2csv: CDATA content are removed #73

Neoklosch opened this issue May 22, 2015 · 0 comments · May be fixed by #104

Comments

@Neoklosch
Copy link
Contributor

In an Android xml string file it's possible that an entry contains a CDATA block.

An example for that:
<string name="html"><![CDATA[<p>Text<p>]]></string>

After running the converter, the CDATA block is removed in the resulting csv.

result:
html,<p>Text<p>

If you convert the csv back to a xml the CDATA block is still missing and the xml file is completely wrong and it end in an error in android cause plain xml is not allowed.

result:
<string name="html"><p>Text<p></string>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants