Hi devs,

When there are unclosed tags, Synapse throws following error if try to get
rid of payload(Payload Factory).

[2018-02-21 20:45:49,351] ERROR -  com.ctc.wstx.exc.WstxParsingException:
Unexpected close tag </body>; expected </HR>.
 at [row,col {unknown-source}]: [17,187]
{org.apache.synapse.config.xml.AnonymousListMediator}
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Unexpected close tag </body>; expected </HR>.
 at [row,col {unknown-source}]: [17,187]

I cannot use binary relay builder for HTML content type, since we need to
read the content for well formatted XML use cases.

Any idea how to handle both cases?

​Thanks.​

-- 
--

Lahiru Sandaruwan
WSO2 Inc., http://wso2.com

lean.enterprise.middleware

m: +1 901 530 2379
e: lahi...@wso2.com b: https://medium.com/@lahirugmg
in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to