Hello,

I am new with XML & I'm trying to setup a test. I'm using XML Spy to create
my schema & xml file. When I created the xml & dtd file with Notepad everything
validated fine. Now, I've created a schema & it is valid. However, when I
create a xml file based on this schema, I get:

THIS FILE IS NOT WELL-FORMED <-- EXPECTED

Here is the schema code:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="resume_Drake" type="xs:string">
<xs:annotation>
<xs:documentation>This is just a test to see if I can revise my resume online
using XML. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="nameaddres">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="street" type="xs:string"/>
<xs:element name="city_state_zip" type="xs:string"/>
<xs:element name="phone" type="xs:string"/>
<xs:element name="email" type="xs:string"/> <xs:element name="skills" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>


Here is my xml code:

<?xml version="1.0" encoding="UTF-8"?>
<resume_Drake xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="www.geocities.com/drake_30082/resume.xsd"/>

<!--Start with your name & address-->

<name>Ronnie Drake
<street>10167 Commons Way
<city_state_zip>Jonesboro, GA 30238
<phone>770-472-4622
<email>drake711@bellsouth.net
</email>
</phone>
</city_state_zip>
</street>
</name>

<!--Start your special skills-->

<skills>FUNCTIONAL SUMMARY</skills>

<![CDATA[Exceptional interpersonal communication, leadership, analytical
and organizational skills.]]>


</resume_Drake>



Can someone please tell me what I am doing wrong? Why does it look for a
comment?

Thanks in advance
Newbie