axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rangika Mendis (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Assigned: (AXISCPP-436) createAttribute() API allows duplicate attribute creation within a tag
Date Fri, 18 Feb 2005 07:01:49 GMT
     [ 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


Mime
View raw message