Announcement Announcement Module
Collapse
No announcement yet.
How to preserve white spaces at the beginning of property? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to preserve white spaces at the beginning of property?

    Hello,

    If I put some spaces at the beginning of the property value, it is ignored by PropertiesParser (I suppose).

    Code:
    <object class="com.example.SomeClass">
    	<property name="someProperty" value="       some value beginning with spaces"/>
    </object>
    How to preserve those white spaces while parsing the config file ?

  • #2
    I donŽt think this is supported right now. Please add a JIRA feature request ticket and weŽll try to add it:

    https://jira.springsource.org/browse...ACTIONSCRIPTAS

    cheers,

    Roland

    Comment


    • #3
      Originally posted by 666shooter View Post
      I donŽt think this is supported right now. Please add a JIRA feature request ticket and weŽll try to add it:

      https://jira.springsource.org/browse...ACTIONSCRIPTAS

      cheers,

      Roland
      I added it as a bug which i think it is as AS String properties and XML attributes support spaces at the beginning. The issue is in the PropertiesParser which does not preserve the white spaces, right?

      SESPRINGACTIONSCRIPTAS-134

      Comment


      • #4
        The issue is in the PropertiesParser which does not preserve the white spaces, right?
        could be, that is rather old code so I donŽt know it by heart

        Comment

        Working...
        X