Validation Problems

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: bbc (bbc972000_at_yahoo.ca)
Date: 11/16/04


Date: 16 Nov 2004 15:31:58 -0800

Hello ;

I am having difficulty using BizTalk 2004 to validate a very simple
schema network.

1. The schema network consists of a parent schema containing a "County
Code" field, and a code schema containing the list of possible codes.
2. The Schema network was generated by the JXDM Subset Tool (a
Department of Justice Application) and I fully expect that the syntax
is correct.

However, when I go to the Biztalk Project, right-click the jxdm.xsd
parent schema, and select "Validate Schema", I receive a short list of
error message the first of which reads as follows:

C:\Documents and Settings\bc.LUXOR.000\My Documents\Visual Studio
Projects\BizTalk Server Project2\jxdm.xsd Cannot resolve
schemaLocation attribute. An error occurred at C:/Documents and
Settings/bc.LUXOR.000/My Documents/Visual Studio Projects/BizTalk
Server Project2/proxy/fips_6-4/1.0/fips_6-4.xsd, (4, 4).

I don't understand why this error message is being generated because
the "schemaLocation" attribute is set equal to
"proxy/fips_6-4/1.0/fips_6-4.xsd" which –as far as I can tell--
references the correct file under the correct relative directory
structure (relative to the parent schema). I would be most grateful
if anyone can point me in the right direction. The parent schema is
displayed below.

  <?xml version="1.0" encoding="utf-16" ?>
- <xsd:schema xmlns:j="http://www.it.ojp.gov/jxdm/3.0.2"
xmlns:j-fips_6-4="http://www.it.ojp.gov/jxdm/3.0.2/proxy/fips_6-4/1.0"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://www.it.ojp.gov/jxdm/3.0.2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:import schemaLocation="proxy/fips_6-4/1.0/fips_6-4.xsd"
namespace="http://www.it.ojp.gov/jxdm/3.0.2/proxy/fips_6-4/1.0" />
- <xsd:annotation>
- <xsd:appinfo>
- <references xmlns="http://schemas.microsoft.com/BizTalk/2003">
  <reference targetNamespace="http://www.it.ojp.gov/jxdm/3.0.2/proxy/fips_6-4/1.0"
/>
  <reference targetNamespace="http://www.it.ojp.gov/jxdm/fips_6-4/1.0"
/>
  </references>
  </xsd:appinfo>
  </xsd:annotation>
  <xsd:attributeGroup name="SuperTypeMetadata" />
- <xsd:complexType name="AddressType">
- <xsd:complexContent mixed="false">
- <xsd:extension base="j:SuperType">
- <xsd:sequence>
  <xsd:element minOccurs="0" maxOccurs="unbounded"
ref="j:LocationCountyCode" />
  </xsd:sequence>
  </xsd:extension>
  </xsd:complexContent>
  </xsd:complexType>
- <xsd:complexType name="SuperType">
  <xsd:attributeGroup ref="j:SuperTypeMetadata" />
  </xsd:complexType>
  <xsd:element name="LocationCountyCode" nillable="true"
type="j-fips_6-4:USCountyCodeType" />
  </xsd:schema>



Relevant Pages