That is a weird file.  When I load it and save it again without changing
anything, I get differences between the two files.  Here is an interesting
part of the diff output:
     <dia:object type="Flowchart - Internal Storage" version="0" id="O20">
       <dia:attribute name="obj_pos">
-        <dia:point val="36.065,-Inf"/>
+        <dia:point val="36.065,NaN"/>
       </dia:attribute>
       <dia:attribute name="obj_bb">
-        <dia:rectangle val="36.015,-Inf;47.515,NaN"/>
+        <dia:rectangle val="36.015,NaN;47.515,NaN"/>
       </dia:attribute>
       <dia:attribute name="elem_corner">
-        <dia:point val="36.065,-Inf"/>
+        <dia:point val="36.065,NaN"/>
       </dia:attribute>
       <dia:attribute name="elem_width">
         <dia:real val="11.4"/>
       </dia:attribute>
       <dia:attribute name="elem_height">
-        <dia:real val="Inf"/>
+        <dia:real val="NaN"/>
       </dia:attribute>

This particular object had some Inf's in it, which look like they were
causing some problems in constructing the diagram.  When saving the file
again, I got some Inf's occuring in one other shape.  My guess is that
these weird values are causing the problems.

Now it would be really great if someone can outline a procedure to create
an evil file with Inf's or NaN's in them :)

(for those who may be a bit lost by this, Inf is infinity which is what
you get when you divide a floating point number by 0.  NaN is what you get
when you multiply Inf by 0 or maybe divide by Inf).

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Wed, 17 Nov 1999, Bas van Gils wrote:

> Hi,
> 
> as I noted earlier; somtims ida messes up diagrams :( here's an
> example-file...
> 
> yours
> 
>       Bas
> 
> -- 
> Bas van Gils ([EMAIL PROTECTED])    http://stuwww.kub.nl/people/b.vangils
> tel# +31-6-24614919 (also SMS)           fax# +49-89-66617-61693
> System Administrator of StuWWW at http://stuwww.kub.nl/ 
> Student of Information Management and Technology at Tilburg University
> 
> The author of this E-mail requests that you regard this as a private message.
> Please do NOT distribute it! Thank you very much in advance...
> 

Reply via email to