[ http://issues.apache.org/jira/browse/TUSCANY-928?page=comments#action_12456240 ] Yang ZHONG commented on TUSCANY-928: ------------------------------------
To brainstorm, where to host the options and which are the options? How about XMLHelperImpl/XMLDocumentImpl to host the options? e.g. XMLHelperImpl.LOAD_XXX and XMLHelperImpl.SAVE_XXX. Or SDOUtil? e.g. SDOUtil.XML_LOAD_XXX and SDOUtil.XML_SAVE_XXX. How about these options to start with? Boolean LOAD_SCHEMA Boolean SAVE_DocType Integer SAVE_LineWidth String SAVE_LineBreak String SAVE_INDENT String SAVE_MARGIN > Define Tuscany SDO options for XMLHelper load and save operations > ----------------------------------------------------------------- > > Key: TUSCANY-928 > URL: http://issues.apache.org/jira/browse/TUSCANY-928 > Project: Tuscany > Issue Type: Improvement > Components: Java SDO Implementation > Affects Versions: Java-Mx > Reporter: Kelvin Goodson > > 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. - If you think it was sent incorrectly contact one of the administrators: http://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]
