You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/02/06 14:56:05 UTC

[jira] Commented: (TUSCANY-1091) DataObjectXMLStreamReader doesn't have to repeat NameSpace declaration which impacts performance

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

Kelvin Goodson commented on TUSCANY-1091:
-----------------------------------------

Hi Yang,
  just a quick question before I apply this.  I'm not sure I'm happy about having a public setParent method that ignores the input argument and returns.  It feels like we are setting a trap here.  What should we be doing here?  I feel this at minimum deserves a comment.
Cheers, Kelvin.

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org