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

Yang ZHONG commented on TUSCANY-1091:
-------------------------------------

We can have a comment such as:
  We used to have a NameSpaceContext at each DataObject level, delegating to 
parent DataObject NameSpaceContext. setParent was used to configure the parent 
NameSpaceContext.
  This improvement optimizes that and uses one global NameSpaceContext not 
delegating to any other one. Therefore setParent  is ignored.

Thanks.

> DataObjectXMLStreamReader doesn't have to repeat NameSpace declaration which 
> impacts performance
> ------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1091
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1091
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Yang ZHONG
>             Fix For: Java-SDO-Mx
>
>         Attachments: bindLessNS, simple3.xsd, XMLStreamHelper.xsd, 
> XMLStreamHelperPerformanceTestCase.java
>
>
>       <p0:quotes3>
>               <p1:symbol3 
> xmlns:p1="http://www.example.com/simple3";>IBM</p1:symbol3>
>               <p1:company3 xmlns:p1="http://www.example.com/simple3";>IBM 
> Corp.</p1:company3>
>       </p0:quotes3>
> can be optimized as
>       <p0:quotes3 xmlns:p1="http://www.example.com/simple3";>
>               <p1:symbol3>IBM</p1:symbol3>
>               <p1:company3>IBM Corp.</p1:company3>
>       </p0:quotes3>
> Thanks to Fuhwei Lwo for prototyping the Test Case. I've made small changes 
> to make use of HelperContext so that it will neither interfere nor be 
> interfereed by other build test(s).

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