Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

4. When writing XML schemas start elements and attributes with lower case letters
Instead of "<Conduit ConnectionTimeout="300">" we prefer "<conduit connectionTimeout="300">"

5. Don't create redundant schema names
If you are writing a JMS transport schema, don't name your type "jmsConduit". Instead name it just "conduit". The schema type will already be in the JMS namespace so "jmsConduit" is overly redundant. Example: <jms:conduit.../> and not <jms:jmsConduit.../>

6. If your component does not need to be configured via WSDL, write your component as a bean and then just write a Spring 2.0 schema for it.