You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2007/02/13 00:13:05 UTC
[jira] Updated: (TUSCANY-1107) Multiple calls to
getNamespaceContext
[ https://issues.apache.org/jira/browse/TUSCANY-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang ZHONG updated TUSCANY-1107:
--------------------------------
Attachment: 1107
The attached patch has passed all build tests.
Now, getNamespaceContext() is cached.
What's even better is, by design, as long as there's only one (root) element declaring/binding NameSpace(s), getNamespaceContext() will be called only once at most.
> Multiple calls to getNamespaceContext
> -------------------------------------
>
> Key: TUSCANY-1107
> URL: https://issues.apache.org/jira/browse/TUSCANY-1107
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SDO Implementation
> Reporter: Brent Daniel
> Attachments: 1107
>
>
> In SDOXMLHelperImpl, both getPrefix() and getURI() make calls to OMStAXWrapper.getNamespaceContext(). This causes multiple calls to getNamespaceContext each time an element is parsed. If possible, this value should be cached to increase performance.
--
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