You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Gerald Preissler (JIRA)" <ji...@apache.org> on 2006/10/27 11:29:19 UTC
[jira] Updated: (WSCOMMONS-116)
org.apache.ws.policy.PrimitiveAssertion.addAttribute accepts
java.lang.Object values
[ http://issues.apache.org/jira/browse/WSCOMMONS-116?page=all ]
Gerald Preissler updated WSCOMMONS-116:
---------------------------------------
Attachment: PrimitiveAssertion.java
changed addAttribute(QName qname, Object value) to addAttribute(QName qname, String value)
> org.apache.ws.policy.PrimitiveAssertion.addAttribute accepts java.lang.Object values
> ------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-116
> URL: http://issues.apache.org/jira/browse/WSCOMMONS-116
> Project: WS-Commons
> Issue Type: Bug
> Components: Policy
> Environment: all
> Reporter: Gerald Preissler
> Priority: Minor
> Attachments: PrimitiveAssertion.java
>
>
> In org.apache.ws.policy.PrimitiveAssertion.addAttribute accepts any Object as attribute value, but when reading the value with getAttribute, it is cast to String.
> This should be changed to reflect the implementation in org.apache.ws.policy.Policy, where only String values are accepted.
> I'll attach an updated implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org