Camel
  1. Camel
  2. CAMEL-4361

Improve validator to accept several schemas

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.0
    • Fix Version/s: Future
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The current implementation only allows for one given xsd schema.
      I have some messages which have two namespaces. The outer schema declares some elements with lax processing.
      By providing a http://static.springsource.org/spring-ws/sites/1.5/spring-xml/apidocs/org/springframework/xml/xsd/XsdSchemaCollection.html which references both schemas I would be able to validate the whole message - and not just the outermost one.

      Either the existing implementation will have to be altered to allow for several paths, or it can be extended to reference a schemacollection.

        Activity

        David J. M. Karlsen created issue -
        Claus Ibsen made changes -
        Field Original Value New Value
        Fix Version/s Future [ 12315692 ]
        Claus Ibsen made changes -
        Component/s camel-core [ 12313938 ]
        Component/s camel-spring [ 12313939 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            David J. M. Karlsen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development