Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8309

Spring OXM schema improvement for CastorMarshaller

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1 M1
    • Fix Version/s: 3.1 RC1
    • Component/s: OXM
    • Labels:
    • Last commented by a User:
      false

      Description

      I had been working with Werner Guttman lead of the Castor XML project on ideas for extending the Spring OXM for current Castor version. I've prepared a set of patches with change made to Spring OXM schema, that will allow configuring the Castor marshaller using oxm namespace.

      This propsitions will allows to define the marshaller like below i.e.:
      <oxm:castor-marshaller id="marshaller"
      target-class="org.springframework.ws.samples.airline.schema.Flight"
      target-package="org.springframework.ws.samples.airline.schema"
      mapping-location="classpath:mapping.xml"/>

      You will find three patches attached:
      SpringOXM Xml Schema - with changes made in the xsd.
      SpringOXM Xml Schema Implmentation - that contains simple change made in CastorMarshaller and definition of CastorMarshallerBeanDefinitionParser.
      SpringOXM Xml Schema Tests - with tests for CastorMarshallerBeanDefinitionParser

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              jnarloch Jakub Narloch
              Last updater:
              Trevor Marshall
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 50 weeks, 6 days ago

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.05d
                0.05d