The command "9: Submit XDS event document to driver" in dxcmd doesn't
seem to work, I don't believe it's a fault in dxcmd since I get the same
error when submitting a XDS event document through the DirXML LDAP API.

This is what I'm submitting (a sample from the IDM 4.0.1 documentation):

<nds dtdversion="1.1" ndsversion="8.6" xml:space="default">
<add class-name="User" src-dn="Doe John">
<add-attr attr-name="LastName">
<value type="string">John</value>
<add-attr attr-name="FirstName">
<value type="string">Doe</value>
<add-attr attr-name="Email">
<value type="string">JDoe@novell.com</value>

This is what I get back, both in dxcmd and my own Java application:

<nds dtdversion="4.0" ndsversion="8.x"><source><product
edition="Advanced" version="">DirXML</product><contact>Novell,
Inc.</contact></source><output><status level="error">Code(-9010) An
exception occurred: java.lang.ClassCastException:
com.novell.xml.dom.TextImpl cannot be cast to org.w3c.dom.Element
com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:818)
com.novell.nds.dirxml.engine.Subscriber.processEve ntsWithReturn(Subscriber.java:789)
at com.novell.nds.dirxml.engine.Driver.submitEvent(Dr iver.java:744)
com.novell.nds.dirxml.engine.DriverEntry.processAc tion(DriverEntry.java:863)
at com.novell.nds.dirxml.engine.DriverEntry.eventLoop (DriverEntry.java:747)
at com.novell.nds.dirxml.engine.DriverEntry.run(Drive rEntry.java:561)
at java.lang.Thread.run(Unknown Source)

In DSTrace I only see this:

18:56:44 7E73EB70 Drvrs: Services ST:Injecting User Agent XDS event
document into Subscriber channel.

If you alter the document before sending it, for example remove the
<input> element and only keep the <add> then this error doesn't appear
and you can see the XML in DSTrace but of course it's not processed by
IDM since it's not valid XDS.

IDM Engine version is: AE