Here’s what I’m doing.
I’m taking a file attachment from a rich text field and turning it into a image resource so I can use it in a view.
I’m able to traverse the DOM of the document and extract the data I think I need to generate the appropriate DXL for reimport into the database.
This part seems to work great. I’ve saved the file off (.xml) and viewed it and validated it against the DTD. (using XML Spy) All appears to well there.
The problem occurrs with I try to reimport the data into the design of the database. I receive error 4522 DXL Importer Operation Failed.
I used the importer.log to get more information.
The error was formatted in XML but this is the text of the error:
The main xml document cannot be empty
unknown DXL class library error
dxl importer operation failed
Can anyone provide any direction on how to debug this one?
Attached is the .xml in case that helps
<?xml version="1.0" encoding="utf-8"?><updatedby>
<name>CN=Denny Leland/O=home</name>
</updatedby>
<wassignedby>
<name>CN=Denny Leland/O=home</name>
</wassignedby>
<jpeg>
/9j/4AAQSkZJRgABAQAASABIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAbACADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYG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