We are working on a process to move objects between our various
environments, and exporting the objects seems to best meet our needs. In
looking at the various options, the AtomZip-1.1 format helps keep all of
the files together for our objects that contain a mix of managed and
inline streams.

I used the fedora-export tool to dump the object, but when I go to
import the same object without modification, it fails with an error
validating the relative URL that is used within the atommanifest.xml.

We run Fedora 3.2 on Windows, so I debugged with the latest 3.2 source
code and found two issues.

First, the way AtomZip-1.1 content is unpacked, the path is a windows
path to the temporary directory containing the datastream files. So it
might be C:\temp\atom5231\DS1.0.pdf. The code validates the URL since it
is a managed stream. It has a ":" in the path that gets interpreted to
be a hostname/port separator and then proceeds to fail validation. I
grabbed the source code and modified the flow to account for this which
appeared to resolve that issue.

The second error occurred later in the code because the Atom ingest is
not populating the xmlContent of the Datastream object for the Audit
data stream which flows through a slightly different code path.

I ingested several of the demo objects and they worked because they
didn't include managed streams and didn't have audit streams.

Does it seem like I am missing something obvious before I go with a code
change?

Thank you,
Rob

Rob Tanzola 
Applications Developer/Architect
Northrop Grumman Information Systems 
Centers for Disease Control and Prevention


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to