Velmurugan Muthu created AXIOM-514:
--------------------------------------
Summary: < 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
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: [email protected]
For additional commands, e-mail: [email protected]