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

Cdata section is removed #29

Closed
bhaskarrana opened this issue Jan 8, 2022 · 2 comments
Closed

Cdata section is removed #29

bhaskarrana opened this issue Jan 8, 2022 · 2 comments

Comments

@bhaskarrana
Copy link

bhaskarrana commented Jan 8, 2022

Hi Team,
I did the encode xml first and then decode it back.
Found that CDATA is removed

<script>var test = Class.create(); orignal <script>
@danielpeintner
Copy link
Member

The EXI specification has so called Fidelity Options. These preserve options can specify what is to be preserved. The default options are set to achieve the best compression.
e.g., in many use-cases comments are not needed etc.

EXIficient allows one to specify these options, look for "com.siemens.ct.exi.core.FidelityOptions" in https://github.com/EXIficient/exificient#exifactory-settings.
You may want to use "FEATURE_DTD".

Note: This options on encoder and decoder side need to be the same.

@danielpeintner
Copy link
Member

No further response -> closing

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

No branches or pull requests

2 participants