Yes, a NullPointerException is prima facie evidence of a bug.

Please track progress on it here:

https://saxonica.plan.io/issues/2465 <https://saxonica.plan.io/issues/2465>

Michael Kay
Saxonica


> On 6 Oct 2015, at 17:23, Leo Studer <[email protected]> wrote:
> 
> Hello
> 
> I am using Oxygen 17.0 with Saxon EE 9.6.0.5 as the xQuery Update processor.
> 
> I want to move an attribute one level deeper.
> 
> In the example I want to move att="att” from <a> to <b>
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <a att="att">
>     <b/>
> </a>
> 
> Here my code:
> 
> delete node doc("xml.xml")//@att,
> insert node doc("xml.xml")//@att into doc("xml.xml")//b
> 
> Each of these two statements work correctly alone but when I try both 
> together I get java.lang.NullPointerException.
> 
> Can anyone explain what happens here?
> 
> Thanks in advance
> Leo
> 
> 
> 
> 
> _______________________________________________
> [email protected]
> http://x-query.com/mailman/listinfo/talk

_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to