Skip navigation
Currently Being Moderated

Flash Pro CS6 BUG - inconsistent end of line for xml files in library saved in xfl - MESSES UP SVN

Jun 5, 2012 9:51 AM

When saving in XFL with Flash CS6 on Mac (it also happened in CS5.5), the generated xml files in library often have inconsistend end of line, which blocks SVN commits and I have to manually go in the files and make them consistent.

The XML nodes themselves all have \r\l as end of line, while, within <[CDATA[]]>, they only have \r.

We think this happens only when creating new library items on mac, on windows it doesn't happen.

This slows us down incredibly when working on a team using svn.

SVN doesn't upload files with inconsistend line ending.

Line ending shoul be consistent within the same xml file to make svn operations smooth.

 

Check an image of the bug:

http://www.pippoflash.com/_test/flash_bug_eof.png

you can see clearly the differences.

 

thank you

Filippo

 
Replies
  • Currently Being Moderated
    Jun 6, 2012 10:44 AM   in reply to Filippo Gregoretti

    Hi Filippo,

    I would like to examine the fla file which produces this problem. Is it possible for you to share the fla file and related reosurce files using which we can reproduce this issue?

     

    Thanks!

    Mohan

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 11, 2012 1:55 AM   in reply to Filippo Gregoretti

    Thanks Filippo, I could see that now!

    While I was investigating this, I found that this is even happening on a file created and saved on just Windows. I was able to reproduce this using the following steps

    - Create a new AS3 file on Windows

    - Drag out a component to the stage say a Button component from the User Interface section of the Components panel

    - Convert the button component to a Movie Clip Symbol

    - Save the file as XFL and examine the Library XML files (the End of Line is just 'LF' in CDATA section whereas it is 'CR LF' everywhere else)

     

    Since you were saying 'Items created in windows have no problem', does that means, SVN can commit those without any issues for you? And do you face problem only when the file is Created and Saved on Mac(where the end of line is just LF every where) but Modified and Re-saved on Windows(where the end of line is inconsistent)? 

     

    Thanks!

    Mohan

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 11, 2012 11:46 PM   in reply to Filippo Gregoretti

    Great and thanks for sharing it Flippo!

     

    As we are working out a solution for this, could you please get me the following details if possible

     

    - Is this issue happens only when you modify the same symbol(Mac created and has CDATA) on Windows or even happens if you just save the file without modifying that symbol?

    - What happens when you creat a file on Windows and update it to SVN then you open and update the same on Mac. Do you see the same issue with SVN commit?

    - Did you face this issues prior to CS6?

     

    Until we get you the update, your tool will do the magic

     

    Thanks!

    Mohan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)