Bug report (IsaViz 3.0 alpha): Base URI damaged after "suggest layout"

View: New views
1 Messages — Rating Filter:   Alert me  

Bug report (IsaViz 3.0 alpha): Base URI damaged after "suggest layout"

by Christoph Lange-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dear IsaViz developers,

  I'm using IsaViz 3.0 alpha (CVS build 20061026), as downloaded from
http://www.lri.fr/~pietriga/IsaViz/. (I could not manage to download it
directly from the CVS; I'll write you another mail about that.)

After I call "suggest layout", the base URI is set to the file name of the
generated file. Furthermore, the isv:uri/fID attribute is removed from every
node, causing the namespace prefix to appear again, which is superfluous in
my case, where all nodes are in the same namespace.

I hacked a little Perl script, to be called with the .isv file as an argument,
to fix this:

#!/usr/bin/perl -i~ -p
#
# Repairs the URIs in a mindmap after IsaViz's "suggest layout" operation

s{<isv:baseURI value="([^"]+)"\/>}{<isv:baseURI value="YOUR BASE URI"/>}g;
s{<isv:uri>}{<isv:uri fID="true">}g;

Best,

Christoph

--
Christoph Lange, Jacobs Univ. Bremen, http://kwarc.info/clange, ICQ# 51191833