Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2160

Wrong element structure in schema file for cocoon-spring-configurator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Blocks: (Undefined)
    • None
    • Configuration - 1.0.0

    Description

      Schema located at http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd allows to put <configurator:include-beans/> element as top-level which results in following exception:
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [include-beans]

      Closer look at schema reveals that element is supposed to be child of <configurator:settings/>. Schema file must be restructured a little bit in order to avoid ambiguity.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grek Grzegorz Kossakowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: