[
https://jira.jboss.org/jira/browse/JBXB-100?page=com.atlassian.jira.plugi...
]
Richard Opalka commented on JBXB-100:
-------------------------------------
How about:
unmarshal(Source source)
{
if (source instanceof DOMSource)
{
Node node = ((DOMSource)source).getNode();
... // process node
}
else throw new UnsupportedOperationException();
}
Or you prefer to use DOMSource class directly in your method signatures?
Add support for unmarshal(Source)
---------------------------------
Key: JBXB-100
URL:
https://jira.jboss.org/jira/browse/JBXB-100
Project: JBoss XML Binding (JBossXB)
Issue Type: Feature Request
Affects Versions: JBossXB-1.0.0.CR9
Reporter: Thomas Diesler
Assignee: Alexey Loubyansky
JBossWS fragments the incomming SOAP message into Source elements. Currently its using
DOMSource.
The interface to JBossXB is inefficient since the DOMSource needs to be serialized into a
String and then into an InputStream.
It would be much better if JBossXB could unmarshall the Source directly.
Later we could transparently switch from DOMSource to some more efficient implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira