FaraBara
FaraBara

Reputation: 115

How can I import xml into MarkLogic with namespaces that are defined in separate files?

I have some XML containing namespaces that are defined in a DTD. When I try to import the xml using the MarkLogic Content Pump (MLCP), it fails, pointing at the undefined namespaces.

What is the easiest way to get this data imported?

We do have an XML catalog. Can I make ML aware of that?

Upvotes: 1

Views: 73

Answers (1)

FaraBara
FaraBara

Reputation: 115

@Mads Hansen lead me in the right direction. It was a matter of using the MLCP option xml_repair_level:

-xml_repair_level full

Upvotes: 1

Related Questions