How do I fix my broken xml deserialization

Untitled script pic(2)

the variable escapes the xml, and I tested it with other block and it didn’t bug out like this
Untitled script pic(3)

idk why the var tag breaks it
Untitled script pic(5)

So for me, everything errors, even the stuff that didn’t error in the result pic:

I think it’s because the objectify xml tree block is broken. Some error always about expecting a list but getting a boolean.

I will say, I think you are trying to make basically the same thing that I did a year ago, so I will likely be able to find what’s wrong. If you want to see how I did it, My approach was this block: split [] by xml :: rgb(119,76,255) reporter here. however, I’m confused why your project uses booleans in the data tree. Is it to signify the beginning/end of the tag?

the booleans are to signify the begining and end of it

ok. Do you know why your script errors when I evaluate it after importing it even when the result pic shows no error, or no?

I dont know why it does that

Your parser does not fully understand <d/>

The parsed tree should look this way


Quite redundant…

it thought the beginning of <d/> was the end and vice versa

heres the fixed version
Untitled script pic(8)
Untitled script pic(6)