[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: bug in object IDs ? O vs 0



brian remedios said:
> I'm working on a Dia diagram generator and I noticed that the object IDs
> being generated seem numerical but instead of
> a leading zero they are prefixed with an 'O' (the letter) instead:
>
>     <dia:object type="Geometric - Perfect Circle" version="0" id="O1">
>
> Is this a typo in the code or intentional?  It doesn't seem to change per
> any of the basic object types so I'm not sure why
> Dia does this. It would be better as a pure integer I think.

That is intentional, though probably a poor choice.  It's an internal
identifier within the XML file only (for connections), and the O stands
for Object.

-Lars



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]