Issue Details (XML | Word | Printable)

Key: AXISCPP-372
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Roshan Weerasuriya
Reporter: Roshan Weerasuriya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis-C++

Do we need the addNamespaceDecl() method in the "IHeaderBlock" interface

Created: 10/Jan/05 10:10 PM   Updated: 12/Jan/05 11:17 PM
Return to search
Component/s: Basic Architecture
Affects Version/s: current (nightly)
Fix Version/s: current (nightly)

Time Tracking:
Not Specified

Resolution Date: 12/Jan/05 11:16 PM


 Description  « Hide
hi James and All,

createNamespaceDecl() creates and adds. OK yes.. true

>what is the advantage of having an API addNamespaceDecl()
This method was added so that if a user has already created a Namespcae
direcetly without using the above "createNamespaceDecl()", so that he
could use this method to add it. But when I went through the code I also
feel that we could remove this "addNamespaceDecl()" from the API.

Any one has a issue if we remove this method ""addNamespaceDecl()" from
the API? Thanks for James to pointing out this.

Roshan



On Mon, 2005-01-10 at 18:09, James Jose wrote:
> Hi Roshan,
>
> There is no API which creates the namespace declaration without
> adding to the HeaderBlock. If createNamespaceDecl() creates and add
> the namespace to the HeaderBlock , what is the advantage of having an
> API addNamespaceDecl() ? I am just trying to understand the necessity
> of addNamespaceDecl() API and how it can be used.
>
> Regards
> James

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Roshan Weerasuriya added a comment - 12/Jan/05 10:09 PM
Ok, so we will remove this "addNamespaceDecl()" from
the API of IHeaderBlock

Roshan Weerasuriya added a comment - 12/Jan/05 11:16 PM
commented this API method.

Roshan Weerasuriya added a comment - 12/Jan/05 11:17 PM
Commented this API method