From 41b80dfe41df0f08aa02af1b3d85b4de35f2070a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Wed, 9 Sep 2009 05:59:28 +0000
Subject: [PATCH] - small updates related to Namespaces

---
 .../exmo/align/impl/renderer/RDFRendererVisitor.java         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java b/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java
index 887e16d9..35ff7c77 100644
--- a/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java
+++ b/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java
@@ -87,7 +87,9 @@ public class RDFRendererVisitor implements AlignmentVisitor
 	String extensionString = "";
 	alignment = align;
 	nslist = new Hashtable<String,String>();
-	nslist.put(Namespace.ALIGNMENT.uri,"align");
+        //nslist.put(Namespace.ALIGNMENT.uri,"align");
+        // I must fix this # problem
+        nslist.put( Namespace.ALIGNMENT.uri+"#" , Namespace.ALIGNMENT.shortCut );
 	nslist.put("http://www.w3.org/1999/02/22-rdf-syntax-ns#","rdf");
 	nslist.put("http://www.w3.org/2001/XMLSchema#","xsd");
 	//nslist.put("http://www.omwg.org/TR/d7/ontology/alignment","omwg");
@@ -110,6 +112,7 @@ public class RDFRendererVisitor implements AlignmentVisitor
 	    writer.print("' standalone='no'?>\n");
 	}
 	writer.print("<rdf:RDF xmlns='"+Namespace.ALIGNMENT.uri+"'");
+        //writer.print(NL+"         xml:base='"+Namespace.ALIGNMENT.uri+"'");
 	for ( Enumeration e = nslist.keys() ; e.hasMoreElements(); ) {
 	    String k = (String)e.nextElement();
 	    writer.print("\n         xmlns:"+nslist.get(k)+"='"+k+"'");
-- 
GitLab