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

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Christoph Lange-4

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;



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