[jboss-jira] [JBoss JIRA] Commented: (AS7-649) Indentation of multiline text content in standalone.xml keeps increasing on rewrites
David Lloyd (JIRA)
jira-events at lists.jboss.org
Tue Jul 19 09:47:38 EDT 2011
[ https://issues.jboss.org/browse/AS7-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615033#comment-12615033 ]
David Lloyd commented on AS7-649:
---------------------------------
This element value should definitely be collapsing whitespace on read before the value goes into the model, and recreating it on write.
> Indentation of multiline text content in standalone.xml keeps increasing on rewrites
> ------------------------------------------------------------------------------------
>
> Key: AS7-649
> URL: https://issues.jboss.org/browse/AS7-649
> Project: Application Server 7
> Issue Type: Bug
> Components: XML Frameworks
> Reporter: David Bosschaert
> Priority: Minor
>
> The standalone.xml file contains some XML tags that contain multi-line XML text, e.g.:
> {code}<property name="org.jboss.osgi.system.modules">
> org.apache.log4j,
> org.jboss.as.osgi,
> javax.inject.api,
> ...{code}
> The problem is that every automatic rewrite of the standalone.xml (e.g. when you deploy a new thing) the indentation increases from the 2nd line of the text, so after the first rewrite it looks like this:
> {code}<property name="org.jboss.osgi.system.modules">
> org.apache.log4j,
> org.jboss.as.osgi,
> javax.inject.api,
> ...{code}
> after a few deploys it ends up looking like this:
> {code}<property name="org.jboss.osgi.system.modules">
> org.apache.log4j,
> org.jboss.as.osgi,
> javax.inject.api,
> ...{code}
> Pretty ugly :(
> Would be nice if the indentation could be left untouched.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list