Skip to content

Commit

Permalink
Fixed keep prefs as defines in dbp
Browse files Browse the repository at this point in the history
  • Loading branch information
VOS Maintainer committed Sep 2, 2015
1 parent 82f53e3 commit 9eecc45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions binsrc/dbpedia/vsp/description.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ create procedure dbp_ldd_set_ns_decl ()
l := length (arr);
for (i := 0; i < l; i := i + 2)
{
declare pre any;
XML_REMOVE_NS_BY_PREFIX (arr[i+1], 2);
pre := (select NS_PREFIX from DB.DBA.SYS_XML_PERSISTENT_NS_DECL where NS_URL = arr[i]);
if (pre is not null)
XML_REMOVE_NS_BY_PREFIX (pre, 2);
XML_SET_NS_DECL (arr[i+1], arr[i], 2);
}
}
Expand Down

0 comments on commit 9eecc45

Please sign in to comment.