You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Rangika Mendis (JIRA)" <ax...@ws.apache.org> on 2005/02/18 08:01:49 UTC

[jira] Assigned: (AXISCPP-436) createAttribute() API allows duplicate attribute creation within a tag

     [ http://issues.apache.org/jira/browse/AXISCPP-436?page=history ]

Rangika Mendis reassigned AXISCPP-436:
--------------------------------------

    Assign To: Rangika Mendis

> createAttribute() API allows duplicate attribute creation within a tag
> ----------------------------------------------------------------------
>
>          Key: AXISCPP-436
>          URL: http://issues.apache.org/jira/browse/AXISCPP-436
>      Project: Axis-C++
>         Type: Bug
>     Reporter: James Jose
>     Assignee: Rangika Mendis

>
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader","http://ws.apache.org/");
>    IAttribute *Iattr1=phb->createAttribute("Name","np","Axis");
>    IAttribute *Iattr2=phb->createAttribute("Name","np","Axis");
>   This code will generate two attributes with same name 'Name' in the SOAP Header.According to XML specification two attributes cannot have the same name. 
> User should not be allowed to create an attribure with the same name which is already present. He should either be warned or an exception should be thrown. Since the expected behaviour of this API is not known here, I can't provide a testcase for this.
>   

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira