XMLSpy is giving me the following error message:
"unable to locate a reference to a supported schema type (DTD, W3C Schema) within this document instance."
One second everything was fine. Next second, when I added "<?xml-stylesheet?>" at the top, it stopped acknowledging the schema document. Following is the documentation at the top of my .xml document:
<?xml-stylesheet type="text/xsl" href="catalogItem.xsl"?>
The file "CatalogItem.xsd" is in the same directory as CatalogItem.xml. Also is CatalogItem.xsl.
Since the problem started when I added the second line at top, I attempted to reproduce the original validation by deleting it, to make the document same as before. XMLSpy didn't care. It still gave me the same error.