[solved]empty ROI xml files ... when # in path name

27 views
Skip to first unread message

Arthur Bellier

unread,
Jun 24, 2013, 4:18:52 AM6/24/13
to icy-so...@googlegroups.com
Recently ICY stopped saving ROI in the xml files associated with the image file.
The xml file is created but stays with a size of 0 Bytes.

When ICY has to refer to one of the empty xml file I have this error message:
[Fatal Error] Ipsi%2027-6%20Th.xml:1:1: Premature end of file.
XMLUtil.loadDocument('F:\Images\#27 Iba1\Ipsi 27-6 Th.xml') error :
org.xml.sax.SAXParseException; systemId: file:/F:/Images/%2327%20Iba1/Ipsi%2027-6%20Th.xml; lineNumber: 1; columnNumber: 1; Premature end of file.
Error while loading Sequence XML persistent data.
The faulty file 'F:/Images/#27 Iba1/Ipsi 27-6 Th.xml' has been saved as 'F:/Images/#27 Iba1/Ipsi 27-6 Th.xml.bak'

 Ok, I found where it comes from: this seems to happens when there is a " # " in the path name.

Stephane

unread,
Jun 24, 2013, 10:01:01 AM6/24/13
to
Hi,

Thanks for reporting it :) This is a bug from the java API but in future version we will just change the '#' character by something else for XML file to avoid any problem.
Reply all
Reply to author
Forward
0 new messages