Skip to content

foliavalidator doesn't preserve CDATA ? #21

@kosloot

Description

@kosloot

when running foliavalidator examples/gaps.2.0.0.folia.xml -o
the CDATA block in the <content> is discarded.

IN:

     <gap class="frontmatter">
        <desc>This is the cover of the book</desc>
        <content>
<![CDATA[

            SHOW WHITE AND THE SEVEN DWARFS


                by the Brothers Grimm

                    first edition


            Copyright(c) blah blah
]]>
        </content>
     </gap>

OUT

    <gap class="frontmatter">
      <desc>This is the cover of the book</desc>
      <content>


            SHOW WHITE AND THE SEVEN DWARFS


                by the Brothers Grimm

                    first edition


            Copyright(c) blah blah

        </content>
    </gap>

This might not be a real bug, but is quite surprising.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions