Here's the error when I try to parse the personal-schema.xml example:
(the same still)

Attribute "xmlns" must be declared for element type "personnel".  at line
2, column 18
Attribute "id" must be declared for element type "person".   at line 4,
column 14
null


Cheers,


Tammam



"Dwayne Schultz" <[EMAIL PROTECTED]> on 03/30/2000 04:07:43 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]
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 19991216//EN"
>
> "file:/E:/Projects/UPM/XMLSchema/WD-xmlschema-1-19991217/struc
> tures.dtd">
>
> <schema xmlns="http://www.w3.org/1999/XMLSchema";>
>   <element name="doc" type="DocumentType"/>
>   <type name="DocumentType">
>        <attribute name="xmlns" type="string"/>
>   </type>
> </schema>

Can you parse data/personal-schema.xml successfully or does it give you the
same error?




Reply via email to