[GCC-XML] Should I ever get two "ids" that are the same?

John Morrison jm at mak.com
Tue Nov 2 19:53:19 EST 2004

On Tuesday 02 November 2004 06:29 pm, Brad King wrote:
> The id values are part of the ID/IDREF attributes specification for XML
> and therefore must be unique.  If you are getting a collision in the
> hash table it is probably because your hash function maps two ids to the
> same place.  If you really see two elements in the XML output with the
> same id then it is probably a bug and you should post it.

So, if I see these two lines in my XML file, then I have been bitten?

[ mucho snippage ]

  <PointerType id="_661" type="_70" size="32" align="32"/>

[ mucho snippage ]

  <CvQualifiedType id="_661" type="_661"/>

[ mucho snippage ]


==== John Morrison
==== MAK Technologies Inc.
==== 10 Fawcett Street, Cambridge, MA 02138
==== http://www.mak.com/
==== vox:617-876-8085 x115
==== fax:617-876-9208
==== jm at mak.com

More information about the gccxml mailing list