Results 1 to 2 of 2

Thread: <util:properties>

  1. #1
    Join Date
    Aug 2004
    Posts
    10

    Default <util:properties>

    When using the schema based notation, the element <utilroperties> has a "location" attribute marked as required in the xsd, so the code below is invalid:

    <utilroperties id="flushingModels">
    <prop key="productsFlushing">cacheNames=PRODUCTS_CACHE</prop>
    </utilroperties>

    In fact, it DOES work, and it makes sense to create a Properties object without reading from a file (like PropertiesFactoryBean)

    Shouldn't the location attribute be optional?

    PS: There is a way to disable the smiles?

  2. #2
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    Quote Originally Posted by ziba View Post
    In fact, it DOES work, and it makes sense to create a Properties object without reading from a file (like PropertiesFactoryBean)
    Sounds reasonable. But I wonder how you made it working if it is not valid? Did you change the schema? You should raise an enhancement request on Spring's Jira. You might link the issues here.

    Quote Originally Posted by ziba View Post
    PS: There is a way to disable the smiles?
    Yes, below the post there is a box with "Additional Options". It has a checkbox "Disable smilies in text".

    Joerg
    This post can contain insufficient information.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •