Here is the xml that I am trying to turn in to a markdown file using this python package: https://pypi.org/project/ipxact2systemverilog/.
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by PeakRDL IP-XACT (https://github.com/SystemRDL/PeakRDL-ipxact)-->
<ipxact:component xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">
<!--There are unimportant meat filler items in here but I have left them out for simplification-->
</ipxact:component>
When I run the command:
python ./vcg-env/bin/ipxact2md --use-schemaloc -s $gitroot/output-files/ip_xact_test.xml -d $gitroot/output-files/registers_markdown.md
Here is the error I get:
ip_xact_test.xml:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_ELT_1: Element '{http://www.accellera.org/XMLSchema/IPXACT/1685-2014}component': No matching global declaration available for the validation root.
Even when I strip out the few hundred lines in the middle of the xml to actually only have the one ipxact:component element I still get the same error.
I have tried to only have the one component element and strip all the 'meat' out just to confirm that the 'component' is my problem. It still gets the same error.