W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2002

I can not reference Schema

From: jum <sirrat_k@hotmail.com>
Date: Tue, 14 May 2002 18:32:45 -0700
Message-Id: <5.1.0.14.1.20020514183241.02a9ad78@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Example

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3schools.com"
xmlns="http://www.w3schools.com"
elementFormDefault="qualified">

<xs:element name="note">
     <xs:complexType>
       <xs:sequence>
         <xs:element name="to" type="xs:string"/>
         <xs:element name="from" type="xs:string"/>
         <xs:element name="heading" type="xs:string"/>
         <xs:element name="body" type="xs:string"/>
       </xs:sequence>
     </xs:complexType>
</xs:element>

</xs:schema>

file :  note.xsd


<?xml version="1.0"?>

<note
xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd">

<to11111>Tove</to11111>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>



file: *.xml

Why do not check that it have show error when use Editor check
Received on Wednesday, 15 May 2002 02:38:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:00 GMT