- This topic has 3 replies, 2 voices, and was last updated 16 years, 3 months ago by
Loyal Water.
-
AuthorPosts
-
Robert HibleMemberWhen running the format from the xml editor, the xml appears to be misformated. For instance the following before format:
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"> <property name="definitions"> <list> <value>/WEB-INF/jsp/layouts/layouts.xml</value> <value>/WEB-INF/jsp/adapter/views.xml</value> <value>/WEB-INF/jsp/adapter/daily/views.xml</value> </list> </property>
Then ctrl-shift-f or right click source->format the output is produced
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"> <property name="definitions"> <list> <value>/WEB-INF/jsp/layouts/layouts.xml </value> <value>/WEB-INF/jsp/adapter/views.xml </value> <value>/WEB-INF/jsp/adapter/daily/views.xml </value> </list> </property> </bean>
I would not expect whitespace added to the end of the content in the
<value></value>
tags.
Does anyone know if there is a way to change this behavior? I’m so use to ctrl-shift-f then ctrl-s that I end up causing issues in my spring configuration files.
thanks,
AaronApril 15, 2009 at 7:45 am #297560
Loyal WaterMemberDoes anyone know if there is a way to change this behavior? I’m so use to ctrl-shift-f then ctrl-s that I end up causing issues in my spring configuration files.
I’m sorry you ran into this issue. This is a known issue that the dev team is already working on. We will try to fix this asap.
April 15, 2009 at 8:26 am #297563
Robert HibleMemberI was able to partially get around this issue by expanding the ‘Line Width’ to something like 128 characters. Preferences->MyEclipse Enterprise Workbench->Files and Editors->XML->XML Source.
Also, noticed after I posted http://www.myeclipseide.com/PNphpBB2-printview-t-22553-start-0.html which outlines more detail.
April 15, 2009 at 12:49 pm #297582
Loyal WaterMemberI was able to partially get around this issue by expanding the ‘Line Width’ to something like 128 characters. Preferences->MyEclipse Enterprise Workbench->Files and Editors->XML->XML Source.
Glad you have a workaround for now. Sorry for the inconvenience.
-
AuthorPosts