Hi! David! I tried your suggestion and was able to extract a smaller xml file, so I guess I am now reading only the portlet I requested.
Unfortunately it did not resolve my issue, so I went through with Nick suggestion and manually add a space at the end of every nsql line.
It did not solve my issue as well.
I still get error :
<Severity>FATAL</Severity>
<Description>XOG-3250: Portlet record has not been inserted. com.niku.xql2.XQLVisitorException
at com.niku.xql2.handlers.ThrowHandler.postProcess(ThrowHandler.java:25)
at com.niku.xql2.XQLVisitor.postProcess(XQLVisitor.java:1355)
at com.niku.union.xml.dom.DOMWalker.postProcess(DOMWalker.java:210)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:94)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
I was optimistic at first because when I first run my edited writing xml the output showed an error regarding a missing field. We then created it and went through the write xml once again, but then, returned to the first error, which I pasted above.
I also tried to write the same portlet back into the environment from where I read it, but it gave the same error.
Clarity version is 13.2.0.472
Thanks to all for your suggestions