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

Kelvin Goodson commented on TUSCANY-1083:
-----------------------------------------

I applied the patch for this after taking a good look at the SDOXSDEcoreBuilder 
override of getEPackage.  I was trying to figure out whether we could avoid the 
maintenance issue of copying the whole of the superclass' method's logic into 
the subclass in order to tweak the behaviour, rather than a guarded call to 
super.getEPackage() with some subclass fixup logic applied after,  but I wasn't 
able to make this assertion by inspection due to the early logic in the 
superclass method that is not guarded by the if(ePackage == null) condition.  
I'd be interested to know if you thought about that approach and discounted it, 
 as the way it stands, if ever there's a fix to the superclass getEPackage 
method, we won't get it without copying it.

> Shorter NameSpace prefix to speed up XML processing and reduce communication 
> bandwidth
> --------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1083
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1083
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Yang ZHONG
>             Fix For: Java-SDO-Mx
>
>         Attachments: prefix.xsd, ShortPrefix
>
>
> Given XSD:
>   <schema xmlns="http://www.w3.org/2001/XMLSchema"; 
> targetNamespace="http://soaassureservice.soabench.ibm.com"; 
> xmlns:as="http://soaassureservice.soabench.ibm.com";>
>     <element name="requestInfo" type="string"/>
>     <element name="createClaim">
>     ...
> SDO generates NameSpace prefix too long:
>   <soaassureservice:createClaim 
> xmlns:soaassureservice="http://soaassureservice.soabench.ibm.com";>
>     <soaassureservice:requestInfo>...</soaassureservice:requestInfo>
>     ...

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