[ 
https://issues.apache.org/jira/browse/TUSCANY-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464074
 ] 

Yang ZHONG commented on TUSCANY-1049:
-------------------------------------

This improvement may help http://issues.apache.org/jira/browse/TUSCANY-917
without the side effect of demand-creating non-defined global properties.

> Enable XMLStreamHelper#loadObject for unqualified/local elements and BTW 
> enable XMLStreamHelper#loadObject & XMLDocumentImpl#load for options
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1049
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1049
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-Mx
>            Reporter: Yang ZHONG
>             Fix For: Java-Mx
>
>         Attachments: prototype.1049
>
>
> Currently, XMLStreamHelper#loadObject only supports qualified/global 
> elements, because Type is required to parse XML.
> However, Type may also be available for unqualified/local elements such as 
> xsi:type and user input.
> I'm working on Change Summary StAX deserializing, which needs to load deleted 
> Data Objects.
> Thanks to Frank for recommending XMLStreamHelper#loadObject.
> However, the elements may be unqualified/local which may have xsi:type and I 
> know the Type even if no xsi:type.
> I'm attaching the prototype to enable XMLStreamHelper#loadObject for 
> unqualified/local elements.
> It enables XMLStreamHelper#loadObject & XMLDocumentImpl#load for options BTW.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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]

Reply via email to