I have an XSD with the following heading:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://suri.hacienda.pr.gov.IITPRM2019.schema"
targetNamespace="http://suri.hacienda.pr.gov.IITPRM2019.schema">
I am doing the programming to create a file with the information in XML.
This is the heading I wrote on the XML:
<?xml version="1.0"?>
<ns:PR482_2019 xmlns:ns="http://suri.hacienda.pr.gov.IITPRM2019.schema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://suri.hacienda.pr.gov.IITPRM2019.schema">
But when I check if the XML is well formed, this is what I got:
ETieInd2019.xml:2,194: FATAL ERROR: The schemaLocation attribute does not contain pairs of values.
How can I eliminate this error?