keeps / dbptk-developer

DBPTK Developer - library and command-line tool for execution of database preservation actions
http://www.database-preservation.com
GNU Lesser General Public License v3.0
43 stars 19 forks source link

SIARDDK export: namespaces in xml-tables #195

Closed PhillipTommerholt closed 8 years ago

PhillipTommerholt commented 8 years ago

Description: After export the different tables have namespaces that appear like this:

Table1: <table xsi:schemaLocation="http://www.sa.dk/xmlns/siard/1.0/schema1/table1.xsd table1.xsd" xmlns="http://www.sa.dk/xmlns/siard/1.0/schema1/table1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Table2: <table xsi:schemaLocation="http://www.sa.dk/xmlns/siard/1.0/schema2/table2.xsd table2.xsd" xmlns="http://www.sa.dk/xmlns/siard/1.0/schema2/table2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

The schema will always be schema0 like this:

Table1: <table xsi:schemaLocation="http://www.sa.dk/xmlns/siard/1.0/schema0/table1.xsd table1.xsd" xmlns="http://www.sa.dk/xmlns/siard/1.0/schema0/table1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Table2: <table xsi:schemaLocation="http://www.sa.dk/xmlns/siard/1.0/schema0/table2.xsd table2.xsd" xmlns="http://www.sa.dk/xmlns/siard/1.0/schema0/table2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

andreaskring commented 8 years ago

@PhillipTommerholt Fixed in this branch: https://github.com/magenta-aps/db-preservation-toolkit/tree/issue_191_195

PhillipTommerholt commented 8 years ago

This is fixed in beta5.