It was me! In hindsight, the error message makes perfect sense. I got the automated creation of a link working. I see that I need to extract the name, spell damage, etc., and include that in the xml since those fields are still blank in the magic tab of the NPC.
Oh, you added power to each spell. That is not how power works. It should be one stat per NPC, not per spell. It needs to go up above, maybe beside speed and under will.
And now I finally see what happens when the player manual is not opened and you click a spell link. You get a friendly reminder to open it up. That is perfect.
Edit: Now that I see that dropping spells works as expected, I am wondering once again what the best way to do things is, and if the following behaviour is a bug. Right now, I parse the link and the castings. Here is the result. The following image shows to versions of the same spell. The top version is part of the NPC record. The lower version was dropped afterwards. The top one is missing the name. Should that name field also be automatically populated?
Attachment 50229