medusa-ui/medusa

Integration tests fail with INVALID_CHARACTER_ERR using diff-engine (version 0.0.6-SNAPSHOT)

Closed this issue · 0 comments

Issue:

Integration tests are failing with a reactor.core.Exceptions$ErrorCallbackNotImplemented exception that originates from a org.w3c.dom.DOMException: INVALID_CHARACTER_ERR.

Details:

This issue occurs when using the latest diff-engine version : 0.0.6-SNAPSHOT.
The specific error message is:

reactor.core.Exceptions$ErrorCallbackNotImplemented: org.w3c.dom.DOMException:
        INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElement(CoreDocumentImpl.java:627)
	at org.joox.JOOX.$(JOOX.java:101)

Possible Cause:

It seem like the Renderer is trying to wrap the content of a script-tag with //<![CDATA[ ... //]]> twice.