W3C home > Mailing lists > Public > www-isaviz@w3.org > April 2007

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

From: Christoph Lange <ch.lange@iu-bremen.de>
Date: Fri, 13 Apr 2007 16:39:56 +0200
To: www-isaviz@w3.org
Message-Id: <200704131639.56605.ch.lange@iu-bremen.de>

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
Received on Friday, 13 April 2007 20:42:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 13 April 2007 20:42:25 GMT