fugerit-org / fj-doc

Fugerit Document Generation Framework (fj-doc)Fugerit Doc
https://www.fugerit.org/perm/venus/
Apache License 2.0
13 stars 2 forks source link

[fj-doc-base] An invalid XML character (Unicode: 0x2) was found in the element content #213

Closed fugerit79 closed 1 week ago

fugerit79 commented 1 week ago

This is not technically a but, as those characters are not allowed by XML standard, not even in CDATA sections : https://stackoverflow.com/questions/5742543/an-invalid-xml-character-unicode-0xc-was-found https://www.w3.org/TR/xml/#charsets

Anyway we want to produce a work around for it.

[edit]

starting from version 8.9.1 a new configuration attribute for :

<freemarker-doc-process-config
    xmlns="https://freemarkerdocprocess.fugerit.org"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://freemarkerdocprocess.fugerit.org https://www.fugerit.org/data/java/doc/xsd/freemarker-doc-process-1-0.xsd"
    cleanSource="true">

is available :

https://venusdocs.fugerit.org/guide/#doc-freemarker-config-attributes-cleanSource