[jboss-jira] [JBoss JIRA] Commented: (JBXB-100) Add support for unmarshal(Source)

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Tue Dec 8 07:38:39 EST 2009


    [ https://jira.jboss.org/jira/browse/JBXB-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498773#action_12498773 ] 

Alexey Loubyansky commented on JBXB-100:
----------------------------------------

So what are you asking for? To add unmarshal(javax.xml.transform.Source)? Then its implementation will be

unmarshal(Source s)
{
   return unmarshal(s.getSystemId());
}

Or unmarshal(DOMSource ds) and navigate through the Nodes producing SAX-like events?

> 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

        



More information about the jboss-jira mailing list