Closed GoogleCodeExporter closed 9 years ago
Can you provide the full filenames (including extensions) of both the parent
file and the metadata file?
Original comment by pmo...@gmail.com
on 21 Feb 2013 at 5:01
Hi,
Thanks for the reply.
File name: J00000001.Tif
Metadata file name: J00000001.Tif.metadata.properties.xml
FYI, I am using alfresco-bulk-filesystem-import-1.2.1.amp on Alfresco 4.0
Original comment by hemant1...@gmail.com
on 22 Feb 2013 at 9:02
Hi,
I tried to import files this time with the default content type i. e.
cm:content.
But still metadata is not getting attached to the document.
Following is the metadata file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="type">cm:content</entry>
<!-- Custom -->
<entry key="cm:name">Retention</entry>
<entry key="cm:title">Retention form</entry>
</properties>
Document name: J00000002.Tif
Metadata file name: J00000002.Tif.metadata.properties.xml
Can you pls suggest.
Original comment by hemant1...@gmail.com
on 26 Feb 2013 at 4:43
Hi,
Problem is solved.
There was a space at the beginning of Meta data xml file.
After I removed the space, was able to import the document and meta-data
sucessfully.
It will be nice if the XML can be trimmed before parsing it to fix this.
Thanks.
Original comment by hemant1...@gmail.com
on 27 Feb 2013 at 7:04
Thanks for following up. Yes, the Java XML properties file parser is pretty
strict about things like that, and doesn't report errors to the caller when it
runs into trouble, making reporting / recovery of these kinds of issues tricky.
Original comment by pmo...@gmail.com
on 27 Feb 2013 at 4:39
Original issue reported on code.google.com by
hemant1...@gmail.com
on 21 Feb 2013 at 5:44