Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-227

ResourceReaderRepositoryPopulatorBeanDefinitionParser should parse location attribute not locations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5 Final
    • Component/s: Repositories
    • Labels:
      None

      Description

      doParse references locations, but the XSD specifies the attribute name location.

      Either doParse(…) should read the following or the XSD needs changing:

      protected void doParse(Element element, BeanDefinitionBuilder builder) {
      
      	String localName = element.getLocalName();
      	builder.addPropertyValue("resources", element.getAttribute("location"));
      	
      	…
      }
      

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Gierke
              Reporter:
              nealeu Neale Upstone
              Last updater:
              Trevor Marshall
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: