You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/04/29 14:54:44 UTC

[jira] [Assigned] (CAMEL-5212) split().tokenizeXML("child", "parent").streaming() does not work correctly when parent's namespace declarations are separated with new line

     [ https://issues.apache.org/jira/browse/CAMEL-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-5212:
----------------------------------

    Assignee: Claus Ibsen
    
> 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
>            Assignee: Claus Ibsen
>              Labels: split, tokenizeXML
>
> 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