[ https://issues.apache.org/jira/browse/WSCOMMONS-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated WSCOMMONS-121: -------------------------------------- Assignee: Andreas Veithen Affects Version/s: Axiom 1.2.8 > Handling of xml documents with two top level elements is errorneous > ------------------------------------------------------------------- > > Key: WSCOMMONS-121 > URL: https://issues.apache.org/jira/browse/WSCOMMONS-121 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Affects Versions: Axiom 1.2.8 > Reporter: Sameera Jayasoma > Assignee: Andreas Veithen > > I am working on a project called Rhino (Javascript engine written in Java). > I am basically adding xml support to Rhino using axiom (implementing E4X > specification ). Therefore I encounter some issues in axiom. > Earlier I have mentioned another issue. WSCOMMONS-115 > Take the follwoing xml document as an example. > <?xml version="1.0"?> > <foo>jljl</foo> > <foo>jljl</foo> > This is not a well-formed xml document. > But when parsing this xml document in axiom it does not give any error > instead it returns the first element as the document element. > Sameera Madushan -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.