简体   繁体   中英

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?

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

-xml_repair_level full

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM