[ 
https://issues.apache.org/jira/browse/TUSCANY-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Goodson updated TUSCANY-1317:
------------------------------------

    Attachment: 1317.patch

It took me a long time to remove all the JIRA-1317 comments, so please if there 
are any further changes to be made,  make them on top of the new revision of 
the patch that I am attaching.

There were lots of changes to the code that were cosmetic only,  and in areas 
where there were no functional changes too,  which made the job of reviewing 
the patch quite difficult.

I note that there is a // TODO JIRA-1317 in XMLStreamSerializer  but I couldn't 
tell what was to be done.  Please either make the change on top of the attached 
patch,  or make a note here if there is nothing to be done and I will strike 
the comment before applying the patch.

I removed the comment in SDOXMLResourceImpl about changing the default option 
to TRUE in the future.  If we want to change a default option,  which I'm 
disinclined to do because of all the hassle it causes,  we should be thinking 
about doing it right now.  Changing default behaviour is a headache for users 
when they upgrade versions,  and I think we have to consider this much more 
when we apply a 1.0 label to our distributions.


> Provide a way to set default XML load options to be used during Java 
> deserialization
> ------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1317
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1317
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1, Java-SDO-1.0
>            Reporter: Daniel Peter
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1317.patch, 1317.patch, 1317.patch, 1317.patch, 
> 1317.patch, 1317.patch, 1317.patch, JIRA1317Design.txt, JIRA1317Design.txt, 
> JIRA1317Design.txt, JIRA1317Design.txt, JIRA_1317_June21.txt, 
> JIRA_1317_June25_Amita.txt
>
>
> XML load options can be passed when calling the XMLHelper.load(...) methods. 
> But there is currently no way to pass such load options to be used during 
> Java deserialization.
> Thus a way to set default load options should be provided, e.g. 
> SDOUtil.setDefaultXMLOptions(HelperContext, Object options)
> These default options could then be picked up during Java deserialization, 
> i.e. in the method readDataObject in class HelperProviderImpl.ResolvableImpl.
> Additionally the XMLResource.OPTION_RECORD_UNKNOWN_FEATURE option could be 
> exposed in Tuscany SDO.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to