#1 2009-09-02 12:29:21

sidhartha999
Guest

Bugs in Talend

Tags: [empty, xml]

Hi,

This is my XML
<Library>
  <Book>
    <Name>SUNNY</Name>
    <Sex>Male</Sex>
  </Book>
  <Book>
    <Name>HARRY</Name>
    <Sex>Female</Sex>
  </Book>
</Library>

Now i need that if Name attribute is blank then the entire library tag should not be visible and thats work fine when i am unchecking the createEmptyElement if Needed checkbox in tAdvanceOutputXML.
(While not splitting the o/p xml and only one o/p xml is generated).

If now i am splitting the o/p xml into multiple xmls then i am getting this XML format.

<Library>
  <Book/>
  <Book/>
</Library>

Why so? Please guide and help me out.

Thanks,
Sidhartha

#2 2009-09-02 12:42:21

sidhartha.buda
New member
Registered: 2009-08-19
Posts: 9

Re: Bugs in Talend

Hi,

This is my XML
<Library>
  <Book>
    <Name>SUNNY</Name>
    <Sex>Male</Sex>
  </Book>
  <Book>
    <Name>HARRY</Name>
    <Sex>Female</Sex>
  </Book>
</Library>

Now i need that if Name attribute is blank then the entire library tag should not be visible and thats work fine when i am unchecking the createEmptyElement if Needed checkbox in tAdvanceOutputXML.
(While not splitting the o/p xml and only one o/p xml is generated).

If now i am splitting the o/p xml into multiple xmls then i am getting this XML format.

<Library>
  <Book/>
  <Book/>
</Library>

Why so? Please guide and help me out.

Thanks,
Sidhartha

Offline

#3 2009-09-03 08:08:48

sidhartha.buda
New member
Registered: 2009-08-19
Posts: 9

Re: Bugs in Talend

Please Reply on above topic ASAP

Offline

#4 2009-09-08 05:20:39

shong
Talend team
Registered: 2007-08-29
Posts: 10357
Website

Re: Bugs in Talend

hello

when i am unchecking the createEmptyElement if Needed checkbox in tAdvanceOutputXML.

I tested and found that this option is invalid now. Can you report a bug on our butracker?

Thanks for your support!!!

Best regards

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

Board footer

Powered by FluxBB