I just committed a change to the SDO XSDHelper.define() method which changes the behavior significantly. It used to mangle names (using EMF's mangling algorithm) and it didn't map simple types (like xsd:int) to the proper SDO Types as specified in the SDO 2 spec.
With this change, many of the sca schemas no longer generated valid Java classes. For example things like <element name="binding.java" ...> now produces a get method named getBinding.java(), which doesn't compile because of the "." character. Don't blame me, that's what the SDO spec says it should do :-) The solution is to add sdo annotations (e.g., sdo:name="bindingJava") in the schema with the bad names. I fixed all of the existing places with this problem ... seemed like hundreds of them :-) ... so everything is still working. Please beware of this issue, though, when adding new schemas. Longer term, we might want to think about adding some mangling to the Tuscany SDO generator as an option (value-add feature). Frank.
