[ https://issues.apache.org/jira/browse/AXIOM-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIOM-514. ----------------------------------- Resolution: Duplicate > < issue in AXIOM parser > -------------------------- > > Key: AXIOM-514 > URL: https://issues.apache.org/jira/browse/AXIOM-514 > Project: Axiom > Issue Type: Bug > Components: API > Affects Versions: 1.3.0 > Reporter: Velmurugan Muthu > Priority: Blocker > > Axiom parser converts "< ;" to "<" if it is followed by empty node.This > makes the xml content invalid. > XML Input: > case 1: <A> test <B></B> < test1 </A> > case 2: <A> test <B>ear</B> < test1 </A> > XML Output: > case 1: <A> test <B/> < test1 </A> [Incorrect] > case 2: <A> test <B>ear</B> < test1 </A> [Correct] > > Axiom Code: > InputStream ina = new FileInputStream(fileName); > OMElement root = > OMXMLBuilderFactory.createOMBuilder(ina).getDocumentElement(); > Is there any way to handle this scenario ? -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org