[
https://issues.apache.org/jira/browse/WSS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colm O hEigeartaigh reassigned WSS-143:
---------------------------------------
Assignee: Colm O hEigeartaigh
> Better management of namespace declarations....
> -----------------------------------------------
>
> Key: WSS-143
> URL: https://issues.apache.org/jira/browse/WSS-143
> Project: WSS4J
> Issue Type: Improvement
> Components: WSS4J Handlers
> Affects Versions: 1.5.4
> Reporter: Daniel Kulp
> Assignee: Colm O hEigeartaigh
> Fix For: 1.5.6
>
>
> For performance reasons, (and readability) it would be better if wss4j didn't
> duplicate namespace decls on all the child elements if they are redundant or
> not needed. For example:
> <wsu:Timestamp
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
> wsu:Id="Timestamp-1606023307">
> <wsu:Created
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-09-26T20:14:28.841Z</wsu:Created>
> <wsu:Expires
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-09-26T20:19:28.841Z</wsu:Expires>
> </wsu:Timestamp>
> could be shortened to:
> <wsu:Timestamp
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
> wsu:Id="Timestamp-1606023307">
> <wsu:Created>2008-09-26T20:14:28.841Z</wsu:Created>
> <wsu:Expires>2008-09-26T20:19:28.841Z</wsu:Expires>
> </wsu:Timestamp>
> That would save bandwidth, make parsing faster (less to parse/process), the
> DOM model smaller in memory, etc...
--
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]