apache/camel — pull request #20 by kzmeyao (2013-05-07 22:18:05+00:00)
Title: Adding feature for stax reader to turn off xml namespace awareness

There is an issue with the default stax XMLEventReader that makes unmarshalling xml's result in null values when the xml has a top-level namespace that defines a xmltype that does not match the tag name of the object to be unmarshalled. With how camel-stax is written, the only way around it is to change the source xml file, which seems like an unnecessary harsh penalty for all the quirky xml files out there. Therefore, I propose a solution to have the xml reader ignore namespaces and thereby making the reader a lot more flexible.