Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[PATCH] AbstractSimpleBeanDefinitionParser cannot handle namespace declarations (xmlns= or xmlns:prefix=") attributes on the same element [SPR-4599] #9276
Change the doParse to be this...
Fixes the problem.
Or you could make the current Attr available to the isEligibleAttribute() method call so that folks can do the xmlns exclusion in their own code
Juergen Hoeller commented
Good point, those should be excluded by default. I've added an "isEligibleAttribute(Attr)" variant, excluding namespace declaration attributes as well as calling "isEligibleAttribute(String)".
This will be available in tonight's 2.5.3 snapshot.