I have the following lines already in my file.  ( I ommitted it in my last
note -- sorry).
Also notice that I refer to a local structures.dtd in my DOCTYPE, but that
should not make
a difference I think!


Here's the comple file:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 19991216//EN"

"file:/E:/Projects/UPM/XMLSchema/WD-xmlschema-1-19991217/structures.dtd">

<schema xmlns="http://www.w3.org/1999/XMLSchema";>
  <element name="doc" type="DocumentType"/>
  <type name="DocumentType">
       <attribute name="xmlns" type="string"/>
  </type>
</schema>



Cheers,


Tammam


"Dwayne Schultz" <[EMAIL PROTECTED]> on 03/30/2000 12:38:08 PM

Please respond to [EMAIL PROTECTED]; Please respond to
      [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: Schema Validation with Xerces-J




> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> My new schema file is:
>
> <schema xmlns="http://www.w3.org/1999/XMLSchema";>
>   <element name="doc" type="DocumentType"/>
>   <type name="DocumentType">
>        <attribute name="xmlns" type="string"/>
>   </type>
> </schema>
>

I think you need something like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 19991216//EN"
     "http://www.w3.org/TR/1999/WD-xmlschema-1-19991217/structures.dtd";>
<schema>

That's how the example in the data directory is written (personal.xsd).



Reply via email to