highsource / highsource/jsonix
CDATA support
Open
- Dominant language
- JavaScript
- Stars
- 369
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Dear developers,
I have to use mixed CDATA contents. It means that the node can have CDATA or text or both mixed.
I am not able to change the XSD Schema for a new simply type. For a fast solution I added a regex detection for the use of cdata in the jsonix.js, but I don't think that this is a good solution.
Is there a way to keep CDATA from XML file?
My fast solution:
`if (this.asCDATA && value.match(/<.+>/g) != null)`
Best regards,
Justin
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.