Problem with some dia files on windows



I have just discovered an issue with some of my text objects below is a string that will not open in dia 94 and 96.1-3&4. The resolution was to open the file in a text editor and delete the newlines to make the string occur on one line. This allowed me to open the diagram.

From this:
     <dia:attribute name="text">
       <dia:composite type="text">
         <dia:attribute name="string">
           <dia:string>#APF Workstation
with 2 NIC's
1 on HMI network
the other on APF data network#</dia:string>
         </dia:attribute>
         <dia:attribute name="font">
           <dia:font family="sans" style="0" name="Helvetica"/>
         </dia:attribute>

Change the dia:string line to this:
<dia:string>#APF Workstation with 2 NIC's 1 on HMI network the other on APF data network#</dia:string>

OS: Windows XP Pro SP2
Dia versions: 0.94 , dia-setup-0.96.1-3.exe & dia-setup-0.96.1-4.exe

Bit like the xml should have a <pre></pre> around it ....





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