JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-2650

Verification of default values for properties (XML Schema vs. Java)

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.0-M2
  • Fix Version/s: Tech. Debt
  • Component/s: Core: Configuration, Documentation / Website
  • Labels:
    None
  • User impact:
    Medium
  • Effort points:
    3
  • Similar Issues:
    None

Description

See http://www.nabble.com/Setting-default-values-in-schema-tf4684136.html#a13385856

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Travis Carlson added a comment - 28/Feb/08 07:09 AM

AC says this would be most effectively implemented using JDK 5 annotations which are out of scope for 2.0
Currently, the default values are specified in Java, the schema contain almost no default values.

Show
Travis Carlson added a comment - 28/Feb/08 07:09 AM AC says this would be most effectively implemented using JDK 5 annotations which are out of scope for 2.0 Currently, the default values are specified in Java, the schema contain almost no default values.
Hide
Permalink
Travis Carlson added a comment - 28/Feb/08 07:12 AM

The defaults which count are the ones in Java, so this is really just a documentation issue (i.e., the default values will not appear in the XSD annotations nor schema-generated docs)

Show
Travis Carlson added a comment - 28/Feb/08 07:12 AM The defaults which count are the ones in Java, so this is really just a documentation issue (i.e., the default values will not appear in the XSD annotations nor schema-generated docs)
Hide
Permalink
Daniel Feist added a comment - 14/Jul/08 08:47 AM

We could create a Defaults class per module which contains all defaults which is generated from the schema.

Show
Daniel Feist added a comment - 14/Jul/08 08:47 AM We could create a Defaults class per module which contains all defaults which is generated from the schema.
Hide
Permalink
Ross Mason added a comment - 03/Sep/08 11:51 PM

Is this issue still on the table? I thought we'd agreed to keep defaults in Java code...

Show
Ross Mason added a comment - 03/Sep/08 11:51 PM Is this issue still on the table? I thought we'd agreed to keep defaults in Java code...
Hide
Permalink
Daniel Feist added a comment - 04/Sep/08 05:36 PM

We last talked about this quite a while ago. Conclusion was we should use and rely on defaults in Java but at the same time we would also like defaults in schema so they show up as part of context sensitive help and give the user (while configuring) information about default mule behavior without having to go read documentation/javadoc etc.

If we do have defaults in schema, we already do in some places but not across the board we need to ensure they match what is in code. Someone suggested recently having a Defaults class with static final values in per module in order to make this task easier.

Show
Daniel Feist added a comment - 04/Sep/08 05:36 PM We last talked about this quite a while ago. Conclusion was we should use and rely on defaults in Java but at the same time we would also like defaults in schema so they show up as part of context sensitive help and give the user (while configuring) information about default mule behavior without having to go read documentation/javadoc etc. If we do have defaults in schema, we already do in some places but not across the board we need to ensure they match what is in code. Someone suggested recently having a Defaults class with static final values in per module in order to make this task easier.
Hide
Permalink
Ken Yagen added a comment - 03/Jan/09 01:08 PM

file transport schema says polling default is 0 when in the code it is set to 1000.

Show
Ken Yagen added a comment - 03/Jan/09 01:08 PM file transport schema says polling default is 0 when in the code it is set to 1000.

People

  • Assignee:
    Unassigned
    Reporter:
    andrew cooke
Vote (0)
Watch (0)

Dates

  • Created:
    01/Nov/07 02:26 PM
    Updated:
    03/Jan/09 01:08 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.