- From: Kevin Terry <tkr_13@yahoo.com>
- Date: Wed, 9 Jul 2003 11:59:35 -0700 (PDT)
- To: xmlschema-dev@w3.org
I tried to validate the an XSD, using on on-line xml
validator
(http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx)
but returned following error:
Validation error:
Cannot resolve schemaLocation attribute. An error
occurred at , (3, 4).
The 'http://www.w3.org/2000/09/xmldsig#:Signature'
element is not declared. An error occurred at , (69,
10).
The xsd is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:tns="http://www.jjj.com/jjjCoupler"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://www.jjj.com/jjjCoupler"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import
namespace="http://www.w3.org/2000/09/xmldsig#" />
<xs:element name="jjjCoupler">
<xs:complexType>
<xs:sequence>
<xs:element name="jjjSession">
<xs:complexType>
<xs:sequence>
<xs:element name="PatInfo">
<xs:complexType>
<xs:attribute name="FName"
type="xs:string" use="required" />
<xs:attribute name="LName"
type="xs:string" use="required" />
<xs:attribute name="MName"
type="xs:string" use="required" />
<xs:attribute name="id"
type="xs:unsignedInt" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="SessInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="CplInfo">
<xs:complexType>
<xs:attribute name="CplNo"
type="xs:unsignedByte" use="required" />
<xs:attribute name="Name"
type="xs:string" use="required" />
<xs:attribute name="Rev"
type="xs:unsignedInt" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="Cmt"
type="xs:string" />
<xs:element maxOccurs="unbounded"
name="FndInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="FndTxt"
type="xs:string" />
<xs:element minOccurs="0"
name="FndNote" type="xs:string" />
<xs:element minOccurs="0"
name="FndValue">
<xs:complexType>
<xs:attribute
name="FValType" type="xs:unsignedByte" use="required"
/>
<xs:attribute
name="FValValue" type="xs:string" use="required" />
<xs:attribute
name="FValUnit" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Chksum"
type="xs:unsignedShort" use="required" />
<xs:attribute name="CplNo"
type="xs:unsignedByte" use="required" />
<xs:attribute name="EntNo"
type="xs:unsignedShort" use="required" />
<xs:attribute name="RecNo"
type="xs:unsignedShort" use="required" />
<xs:attribute name="State"
type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element minOccurs="0"
maxOccurs="unbounded" name="PrmInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="PrmTxt"
type="xs:string" />
</xs:sequence>
<xs:attribute name="Chksum"
type="xs:unsignedShort" use="required" />
<xs:attribute name="CplNo"
type="xs:unsignedByte" use="required" />
<xs:attribute name="EntNo"
type="xs:unsignedShort" use="required" />
<xs:attribute name="RecNo"
type="xs:unsignedByte" use="required" />
<xs:attribute name="RelType"
type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ProvID"
type="xs:string" use="required" />
<xs:attribute name="SessID"
type="xs:unsignedByte" use="required" />
<xs:attribute name="SessTime"
type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string"
use="required" />
</xs:complexType>
</xs:element>
<xs:element name="jjjEngine">
<xs:complexType>
<xs:sequence>
<xs:element name="GenInfo">
<xs:complexType>
<xs:attribute name="FirstView"
type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string"
use="required" />
</xs:complexType>
</xs:element>
<xs:element
xmlns:q1="http://www.w3.org/2000/09/xmldsig#"
ref="q1:Signature" />
</xs:sequence>
<xs:attribute name="Ver" type="xs:decimal"
use="required" />
</xs:complexType>
</xs:element>
</xs:schema>
Any help would be greatly appreciated.
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Received on Wednesday, 9 July 2003 15:55:58 UTC