Community
Participate
Working Groups
I have a user that reported this issue so I am forwarding it on. The user had a file that they tried to format, the first attempt formatted it, but still left things out of place, then the second attempt formatted it correctly. The starting file (5.xml) was created from some output of a test program he had and it appears to have "no new lines" and is one long string. I will attach the original file after this issue is created. first format left the file in this state: <?xml version="1.0" encoding="UTF-8"?> <scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" initialstate="s00000"> <state id="s00000"> <transition target="s00001"></transition> </state> <state id="s00001"> <transition target="s00002"></transition> </state> <state id="s00002"> <transition target="s00003"></transition> </state> <state id="s00003"> <transition target="s00004"></transition> </state> <state id="s00004"> <transition target="exit"></transition> </state> <state id="exit" final="true" /> </scxml> second format after the first puts in in the correct formatting state: <?xml version="1.0" encoding="UTF-8"?> <scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" initialstate="s00000"> <state id="s00000"> <transition target="s00001"></transition> </state> <state id="s00001"> <transition target="s00002"></transition> </state> <state id="s00002"> <transition target="s00003"></transition> </state> <state id="s00003"> <transition target="s00004"></transition> </state> <state id="s00004"> <transition target="exit"></transition> </state> <state id="exit" final="true" /> </scxml>
Created attachment 51193 [details] original file used to start the formatting with Attached original file used to start the formatting with
This has already been fixed in WTP 1.5 via bug 115716. (I verified using 1.5.2 that the attached file now only takes 1 format pass to format) *** This bug has been marked as a duplicate of 115716 ***
This is part of a mass update to close out all stale WTP resolved bugs from the 1.0.x and 1.5.0 timeframe. If you feel this bug was closed inappropriately, please reopen. Thanks, John Lanuti