Handling of xml documents with two top level elements is errorneous
-------------------------------------------------------------------
Key: WSCOMMONS-121
URL: http://issues.apache.org/jira/browse/WSCOMMONS-121
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Reporter: Sameera Madushan Jayasoma
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]