Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

DDX Question

Avatar

Level 1

Hi all,

I'm trying to execute the example provided at:

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000255.html

It calls for a ddx file to be created with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
     <XDP result="tuc018result.xdp">
        <XDP source="tuc018_template_flowed.xdp">
           <XDPContent insertionPoint="ddx_fragment" source="tuc018_contact.xdp" fragment="subPatientContact" required="false"/>
           <XDPContent insertionPoint="ddx_fragment" source="tuc018_patient.xdp" fragment="subPatientPhysical" required="false"/>
           <XDPContent insertionPoint="ddx_fragment" source="tuc018_patient.xdp" fragment="subPatientHealth" required="false"/>
        </XDP>
     </XDP>       
</DDX>

I created the file and while executing the java code I get the following error:

Caused by:

com.adobe.internal.ddxm.ValidationException: DDXM_S00010: The DDX did not pass basic validation against the schema. Check the job log for details.

at com.adobe.internal.ddxm.Executive.execute(

Executive.java:155)

at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(

AssemblerServiceImpl.java:468)

... 58 more

java.lang.NullPointerException

at CreatePDFFromFragments.main(

CreatePDFFromFragments.java:119)

---------------------------------------------------------------------------------------------------

(Job Log)

<Error> <com.adobe.internal.ddxm.SchemaValidationHandler> <000000> <DDXM_S00011: An error while parsing the DDX at line 3 : cvc-complex-type.2.4.a: Invalid content was found starting with element 'XDP'. One of '{"http://ns.adobe.com/DDX/1.0/":About, "http://ns.adobe.com/DDX/1.0/":Bookmarks, "http://ns.adobe.com/DDX/1.0/":Comments, "http://ns.adobe.com/DDX/1.0/":DDXProcessorSetting, "http://ns.adobe.com/DDX/1.0/":DocumentInformation, "http://ns.adobe.com/DDX/1.0/":DocumentText, "http://ns.adobe.com/DDX/1.0/":FileAttachments, "http://ns.adobe.com/DDX/1.0/":FilenameEncoding, "http://ns.adobe.com/DDX/1.0/":FileSize, "http://ns.adobe.com/DDX/1.0/":InitialViewProfile, "http://ns.adobe.com/DDX/1.0/":Links, "http://ns.adobe.com/DDX/1.0/":Metadata, "http://ns.adobe.com/DDX/1.0/":PackageFiles, "http://ns.adobe.com/DDX/1.0/":PasswordAccessProfile, "http://ns.adobe.com/DDX/1.0/":PasswordEncryptionProfile, "http://ns.adobe.com/DDX/1.0/":PDF, "http://ns.adobe.com/DDX/1.0/":PDFAProfile, "http://ns.adobe.com/DDX/1.0/":PDFGenerationSettings, "http://ns.adobe.com/DDX/1.0/":PDFsFromBookmarks, "http://ns.adobe.com/DDX/1.0/":StyleProfile, "http://ns.adobe.com/DDX/1.0/":TargetLocale, "http://ns.adobe.com/DDX/1.0/":XFAConversionSettings}' is expected.>

----

The xdp files called by the ddx file are all available in their respective directories. Also, the ddx fille does include the tag: <DDX xmlns="http://ns.adobe.com/DDX/1.0/"> .

Any clues on what the issue may be?

Thanks for your help!

C4yan

4 Replies

Avatar

Level 1

Any luck finding out what the problem is/was?  I'm having the same issue...

Avatar

Level 1

Yes. We were using Adobe LC 8.2, and the example I was trying to leverage is for Adobe LC 9.0. Version 8.2 includes an assembler service, but it does not support insertion points. If you want to make this example work, get version 9.0 (FYI - Adobe has a 2 months trial version).

Avatar

Level 1

Thanks!  That was my suspision... I guess its time to upgrade lol.

Avatar

Level 1

Yes. We were using Adobe LC 8.2, and the example I was trying to leverage is for Adobe LC 9.0. Version 8.2 includes an assembler service, but it does not support insertion points. If you want to make this example work, get version 9.0 (FYI - Adobe has a 2 months trial version).