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

Kelvin Goodson commented on TUSCANY-928:
----------------------------------------

Hi Yang
  I don't think you are correct here.

the snippet ...
    System.out.println("root = " + doc.getRootElementName());
    Object o = doc.getRootObject().get("bar");
    System.out.println("value = " + o.toString() + "\n=====");

gives ...

root = foo
bar = [EMAIL PROTECTED] (mixed: [xml.type:text=fred], anyAttribute: null)]
=====
I would complete the test case myself if I had the time but I'm trying to 
progress some stuff of my own.  Please could you make a small extension to this 
case to demonstrate that the fix works.

> Define Tuscany SDO options for XMLHelper load and save operations
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-928
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-928
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Kelvin Goodson
>             Fix For: Java-SDO-Mx
>
>         Attachments: ChangeSummaryPropertyTestCase.928, options.928, 
> SDOXMLResourceImpl.928, SDOXMLResourceImpl.java, XMLHelperTestCase.java
>
>
> XMLHelper's load and save operations take an Object argument  "options", 
> which is currently cast to a Map and forwarded to EMF.  Anyone wishing to 
> influence the behaviour of the save/load operations must understand this 
> aspect of EMF and use EMF artifacts in their programs.  We need to design and 
> implement an SDO approach to passing options,  hiding the implementation 
> details completely.

-- 
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