Greetings, and a happy new year to everybody,

I have tried to make a sane xds document out of an xml doc recived on a
rest drivers publisher channel

Now, the doc looks like this, at the end of the event transform, just
before hitting the filter

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product build="20150722_0750" instance="KLE"
version="1.0.0.0">Identity Manager REST Driver</product>
<contact>NetIQ Corporation.</contact>
</source>
<input>
<modify class-name="STSKLASS" dest-dn="00" event-
id="KLE##1161127175015##0" src-dn="00">
<modify-attr attr-name="CN">
<add-value>
<value type="string">00</value>
</add-value>
</modify-attr>
<modify-attr attr-name="Description">
<add-value>
<value type="string">Kommunens styrelse</value>
</add-value>
</modify-attr>
<modify-attr attr-name="STSGUID">
<add-value>
<value type="string">4eba8818-da19-4e37-b3e1-b9b6be2f2f13</value>
</add-value>
</modify-attr>
<modify-attr attr-name="Object Class">
<add-value>
<value type="string">auxKLASS</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>

Then the following happens, and I cannot fathom why.

[12/27/16 17:50:16.642]:KLE PT:Applying publisher filter.
[12/27/16 17:50:16.642]:KLE PT:Publisher processing modify for 00.
[12/27/16 17:50:16.642]:KLE PT:Reading relevant attributes from 00.
[12/27/16 17:50:16.642]:KLE PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.5.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<query class-name="STSKLASS" dest-dn="00" scope="entry">
<read-attr attr-name="CN"/>
<read-attr attr-name="Description"/>
<read-attr attr-name="Object Class"/>
<read-attr attr-name="STSGUID"/>
<read-attr attr-name="Object Class"/>
</query>
</input>
</nds>
[12/27/16 17:50:16.643]:KLE PT:Pumping XDS to eDirectory.
[12/27/16 17:50:16.643]:KLE PT:Performing operation query for 00.
[12/27/16 17:50:16.643]:KLE PT:--JCLNT-- \BLACKPILL\system\driverset1\KLE
- Publisher : Duplicating : context = 1415970959, tempContext = 1415970956
[12/27/16 17:50:16.644]:KLE PT:--JCLNT-- \BLACKPILL\system\driverset1\KLE
- Publisher : Calling free on tempContext = 1415970956
[12/27/16 17:50:16.644]:KLE PT:
DirXML Log Event -------------------
Driver: \BLACKPILL\system\driverset1\KLE
Channel: Publisher
Object: 00 (00)
Status: Error
Message: Code(-9024) Unable to read current state of 00.

The object does indeed not exist (that is why I would like to add it).
What am I missing?
I did try with the dest-dn stripped out of the document, that failed even
worse.

-Nicolai