Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Who agreed with this solution

avatar
Super Guru

There is a lot to take here. It would be better if you always can simplify the problem by removing redundancy and isolating it where you can only re create the scenario you are trying to resolve. You dont have to use the exact data specially when its not worded in English as you can spend sometime trying to create a dummy data that resemble your structure which is easy to understand and readable by others. Keep in mind the more time you spend simplifying and articulating your problem the higher the chances it will get attention and the it will get resolved. Please keep that in mind when submitting other posts.

As far as your problem goes, it was hard for me to follow everything but something that might be causing the issue is  the spec for moving Tipo, Percentuale & Importo under the "ScontoMaggiorazione"  object in the first transformation as in the following:

...
"@": "FatturaElettronicaBody.DatiBeniServizi.DettaglioLinee[&1].ScontoMaggiorazione[&1].Tipo"
...

If you are trying to group those values under an array then use # instead of &1 , as follows:

 "@": "FatturaElettronicaBody.DatiBeniServizi.DettaglioLinee[&1].ScontoMaggiorazione[#].Tipo"

Using &1 ended up creating null object which probably caused  the generation of  "Importo" : "."  in later transformation.

If that helps please accept solution.

 

 

 

 

 

 

View solution in original post

Who agreed with this solution