-
Notifications
You must be signed in to change notification settings - Fork 43
Illegal ]]> while parsing valid XML with generic reader #266
Copy link
Copy link
Closed
Labels
indevThe issue is fixed/implemented in the dev branchThe issue is fixed/implemented in the dev branch
Description
I have made the simplest example to replicate this error:
<?xml version="1.0" encoding="UTF-8"?>
<mule>
<set-variable value="#[output application/json indent=false --- vars.dbResult[0][0] mapObject ((value, key) -> {(key): value})]" />
</mule>
It works with xmlStreaming.newReader() but it throws with xmlStreaming.newGenericReader().
Stacktrace:
Caused by: nl.adaptivity.xmlutil.XmlException: 3:98 - Illegal ]]>
at nl.adaptivity.xmlutil.core.KtXmlReader.exception(KtXmlReader.kt:279)
at nl.adaptivity.xmlutil.core.KtXmlReader.error(KtXmlReader.kt:275)
at nl.adaptivity.xmlutil.core.KtXmlReader.pushRegularText(KtXmlReader.kt:1176)
at nl.adaptivity.xmlutil.core.KtXmlReader.parseStartTag(KtXmlReader.kt:861)
at nl.adaptivity.xmlutil.core.KtXmlReader.nextImplBody(KtXmlReader.kt:440)
at nl.adaptivity.xmlutil.core.KtXmlReader.next(KtXmlReader.kt:1796)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
indevThe issue is fixed/implemented in the dev branchThe issue is fixed/implemented in the dev branch