Open arichnad opened 1 year ago
Hi @arichnad ,
Thanks for pointing these issues out!
I just pushed a fixes for the second issue in a2bc41368eaec810778008690e527a3444929340. While checking this fix out, I also noticed RelativeLocation elements are lacking a required Origin child element; I wouldnt be surprised if there were a few more issues like this - its been a few years since I've validated the output XML.
The first issue is related to https://github.com/sandialabs/InterSpec/issues/14, and looks to require defining an xsd file.
I'll bump defining this xsd file up in priority on my TODO list, but cant promise a date when they will be fixed by.
thanks again, -will
Hello,
issue-input.txt issue-output.txt (files added as
.txt
extension due to issue restriction)I run the following valid 2012 n42 xml file through SpecUtils, and it creates a 2012 n42 xml that fails schema validation.
It creates two errors.
xmlstarlet val --err --xsd SpecUtils/unit_tests/test_data/schema/n42.xsd issue-output.xml
Using this:
Thanks,
arichnad