You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/01/08 01:48:06 UTC

DO NOT REPLY [Bug 25622] - ValueHashTableOf only works if key is pointer to constant XMLCh string

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25622

ValueHashTableOf only works if key is pointer to constant XMLCh string

neilg@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From neilg@ca.ibm.com  2004-01-08 00:48 -------
I could be persuaded there's a documentation bug somewhere here (especially if 
someone offered a patch to fix it :) ).  But this is how ValueHashTableOf has 
been for a long time, and no doubt there are external users who rely on it; so 
no question of altering the implementation at this stage.

As to why not just const XMLCh *const:  it is possible to use other kinds of 
objects in ValueHashTables, although it doesn't seem to be very common in our 
code (a brief search didn't net me any examples).

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org