<collection xmlns="http://www.loc.gov/MARC21/slim"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd">
<record>
<datafield tag="100" ind1="1" ind2=" ">
<subfield code="a">Marinaccio, Lawrence F.,</subfield>
</datafield>
<datafield tag="100" ind1="1" ind2=" ">
<subfield code="a">Jung, Richard G.,</subfield>
</datafield>
<datafield tag="100" ind1="1" ind2=" ">
<subfield code="a">Jankowski, Francis J.,</subfield>
</datafield>
<datafield tag="100" ind1="1" ind2=" ">
<subfield code="a">Dingee, David A.,</subfield>
</datafield>
<datafield tag="100" ind1="1" ind2=" ">
<subfield code="a">Chastain, Joel W.,</subfield>
</datafield>
</record>
</collection>
IMPORT DATABASE file://test.xml
ArcadeDB Version:
ArcadeDB Server v23.6.1-SNAPSHOT (build 422522314d20ab885deff5f337cdd66a390d7c8f/1687430275407/main)OS and JDK Version:
Running on Mac OS X 12.6.5 - OpenJDK 64-Bit Server VM 11.0.19 (Homebrew)There appear to be two problems with import of generic XML files:
Type with name 'v_{http://www.loc.gov/MARC21/slim}record' was not found)v_recordinstead ofv_{http://www.loc.gov/MARC21/slim}recordshould be created.And in case
xmlns:mynamespace="..."and<mynamespace:record>...</mynamespace:record>is used,v_mynamespace_recordshould be created.Expected behavior
Succesful XML import
Actual behavior
Error on parsing source 'file://test.xml (compressed=false size=852)'Steps to reproduce
Create
test.xmlin thearcadedbfolder with content:Then run: