how to validate my xml file with qm.xsd schema
Hello,
I have a requirement to validate my xml file with qm.xsd schema.
I usually validate with RAP (Rational app developer) as follows:
- Create schema file
- Create xml file using above Schema file. And can validate xml file with no problem.
But I could not validate my xml file against qm.xsd. Here is what I tried:
- I copied the qm.xsd schema file source code from - https://jazz.net/products/rational-quality-manager/api-doc-2.0/index.html
- Created schema file using above code. But it gave 356 erros. One of the errors is - Attribute reference 'http://www.w3.org/1999/02/22-rdf-syntax-ns##resource' is unresolved qm.xsd
Can you please tell how to validate my xml file using qm.xsd?
Thanks
nand
One answer
qm.xsd makes references to other schema files, you will need all files to get it compiled by some tool for validation purpose
Comments
Correct. You would need to pull in all the RQM schemas (see https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_Schema).