G
Group IIS
Hi all,
I am using ALTOVA XMLSpy.
The start of my XML file looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<Submission xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="layout.xsd">
When I go to validate my XML file it give me error "This file is not
valid. The declaration or definition "char30Type" is not defined in
the schema with targetNamespace."
The layout.xsd included 22 related schemas. The first schema
referenced in layout.xsd is simple.xsd it has this reference in it.
<xsd:simpleType name="char30Type">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="30"/>
I have assigned the full pathnames in the my xml and layout.xsd but I
still get the same error.
Does anyone have any idea as to why I am getting this message and what
I can do to correct it.
Thanks
I am using ALTOVA XMLSpy.
The start of my XML file looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<Submission xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="layout.xsd">
When I go to validate my XML file it give me error "This file is not
valid. The declaration or definition "char30Type" is not defined in
the schema with targetNamespace."
The layout.xsd included 22 related schemas. The first schema
referenced in layout.xsd is simple.xsd it has this reference in it.
<xsd:simpleType name="char30Type">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="30"/>
I have assigned the full pathnames in the my xml and layout.xsd but I
still get the same error.
Does anyone have any idea as to why I am getting this message and what
I can do to correct it.
Thanks