This repository was archived by the owner on Jan 7, 2021. It is now read-only.
Commit 7ffef62
committed
Merge pull request #2 from andris9/master
CDATA blocks with ] or [ characters inside
Notes in our README regarding no parsing support for CDATA sections will remain. Please notice that we also provide a way to generate reversible json and this patch doesn't resolve that case. The right way to parse CDATA sections will be something like:
1. xml2json: Handling startCdata and endCdata events coming from node-expat
2. xml2json: In order to continue supporting reversible json, generate a new identifier to represent the cdata section in json.
3. json2xml: generate the CDATA sections in xml appropriately
4. write tests1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments