You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Boris Kolpackov <bo...@codesynthesis.com> on 2014/09/01 08:58:06 UTC

Re: is XSTypeDefinition::getNamespace() missing a const qualifier?

Hi Erik,

Erik Sjölund <er...@gmail.com> writes:

> $ grep "XMLCh\* getName" XSTypeDefinition.hpp
>     virtual const XMLCh* getName() const = 0;
>     virtual const XMLCh* getNamespace() = 0;

Without looking at the code, I can't see why it shouldn't be const.
Could you file a bug report so that this won't get lost?

Thanks,
Boris

Re: is XSTypeDefinition::getNamespace() missing a const qualifier?

Posted by Erik Sjölund <er...@gmail.com>.
Ok!
I now filed a bug report

https://issues.apache.org/jira/browse/XERCESC-2036

cheers,
Erik


On Mon, Sep 1, 2014 at 8:58 AM, Boris Kolpackov <bo...@codesynthesis.com> wrote:
> Hi Erik,
>
> Erik Sjölund <er...@gmail.com> writes:
>
>> $ grep "XMLCh\* getName" XSTypeDefinition.hpp
>>     virtual const XMLCh* getName() const = 0;
>>     virtual const XMLCh* getNamespace() = 0;
>
> Without looking at the code, I can't see why it shouldn't be const.
> Could you file a bug report so that this won't get lost?
>
> Thanks,
> Boris