I always refer to Christine.Takeuchi 's post
at first a variable object_xml is declared
<!-- ============================================================================== -->
<!-- Build the XML file using Parse tag and incorporating those variables' values . ..-->
<!-- ============================================================================== -->
<gel:parse var="object_xml">
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_application.xsd">
and so on
When the building of the xml is complete that is written
</Applications>
</NikuDataBus>
</gel:parse>
<!-- display the generated XML from the application query -->
<gel:log>
<gel:log>Step 1 - XML Generated is below -</gel:log>
<gel:expr select="$object_xml"/>
</gel:log>
Then you can view it in the messages of the process.
Take the xml file created and see if you can run it with command line client.
I should expect that you get the same error and that the xml file is not exactly the same.