camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kzmeyao <...@git.apache.org>
Subject camel pull request: Adding feature for stax reader to turn off xml namespac...
Date Tue, 07 May 2013 22:18:09 GMT
GitHub user kzmeyao opened a pull request:

    https://github.com/apache/camel/pull/20

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kzmeyao/camel dev_kyao

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/20.patch

----
commit 9b3080533244e7b9692b1f70c6b6e022299bf799
Author: kyao <kzmeyao@gmail.com>
Date:   2013-05-07T21:45:39Z

    Adding feature for stax reader to turn off xml namespace awareness

----


Mime
View raw message