Target Namespace of an attribute declaration must not match XMLShema-instance

I'm new to XML and I've run into the following error (I'm using oXygen):

SystemID: \Desktop\XML Import2\xsi.xsd
Location: 6:40
Description: no-xsi: The {target namespace} of an attribute declaration must not match 'http://www.w3.org/2001/XMLSchema-instance'.
URL: http://www.w3.org/TR/xmlschema-1/#no-xsi

Below is a copy of the XSD document "xsi.xsd"

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
  targetNamespace="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jxdm="http://www.it.ojp.gov/jxdm/3.0.2"
  xmlns:incident-doc="http://www.it.ojp.gov/jxdm/doc/incident/1.0/document"
  xmlns:incident="http://www.it.ojp.gov/jxdm/doc/incident/1.0/extension">
  <xs:import namespace="http://www.it.ojp.gov/jxdm/3.0.2"
    schemaLocation="sample-incident-report-simple.xsd"/>
  <xs:import namespace="http://www.it.ojp.gov/jxdm/doc/incident/1.0/document"
    schemaLocation="incident-doc.xsd"/>
  <xs:import namespace="http://www.it.ojp.gov/jxdm/doc/incident/1.0/extension"
    schemaLocation="incident.xsd"/>
  <xs:attribute name="schemaLocation"/>
</xs:schema>

Can you point me in the right direction?
Thanks,
ConkshellAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gertone (Geert Bormans)Information ArchitectCommented:
Hi Conkshell,
> targetNamespace="http://www.w3.org/2001/XMLSchema-instance"

you cannot do that,
if you give the document a targetNamespace equal to the schema-instance namespace,
you are sort of overwriting that namespace, and you need it (though you only need it in the instance, not in the schema)

in targetNamespace, you should give the name of this specific schema's namespace
(actually this says, invent yourself a name, just make sure it is unique)

targetNamespace="urn:org:Conkshell:schemas:first-trial-schema" would work

Cheers!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.