F. Baran Elis created CAMEL-5212: ------------------------------------ Summary: split().tokenizeXML("child", "parent").streaming() does not work correctly when parent's namespace declarations are separated with new line Key: CAMEL-5212 URL: https://issues.apache.org/jira/browse/CAMEL-5212 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.9.1 Reporter: F. Baran Elis
when I try to split a big XML file using split().tokenizeXML("child", "parent").streaming() and if the parent's namespace declaration are separated with new line in the XML file, child element does not inherit the namespace declarations. When all declarations are on the same line it works ok. <?xml version="1.0" encoding="UTF-8"?> <parent xmlns:ns1="ns1.url" xmlns:ns2="ns2.url"> <child></child> <child></child> </parent> doesn't work but <?xml version="1.0" encoding="UTF-8"?> <parent xmlns:ns1="ns1.url" xmlns:ns2="ns2.url"> <child></child> <child></child> </parent> is OK -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira