Oxy7.1 Cannot Find My Schema XSD File
Posted: Tue Apr 18, 2006 8:06 pm
Here is the top of my XML:
The XSD is published on my local apache server, just for testing. But Oxy7.1 says it can't find the XSD file.
The Schema was generated using Oxy7.1, here is the top of that file:
Is there something I need to configure in Oxy7.1 to allow validation of this type?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- A Generalized Command using XML -->
<nmixml:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="xml.nmie.fujitsu.com http://mharedt001/XML/NMIRepository/Schema/R1_0/nmi.xsd"
xmlns="xml.nmie.fujitsu.com" xmlns:nmixml="xml.nmie.fujitsu.com" nmi-maj-version="1"
nmi-min-version="0">
<nmixml:header>
<nmixml:source product-id="FW6530" maj-version="1" min-version="1"/>
</nmixml:header>
nmi.xsd is a Schema file, I tried the same files in XMLSpy and they were validated without a problem.SystemID: null
Description: schema_reference.4: Failed to read schema document 'http://mharedt001/XML/NMIRepository/Schema/R1_0/nmi.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
URL: http://www.w3.org/TR/xmlschema-1/#schema_reference
The Schema was generated using Oxy7.1, here is the top of that file:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="xml.nmie.fujitsu.com" xmlns:nmixml="xml.nmie.fujitsu.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="message">
<xs:complexType>
<xs:sequence>