Go back and read the schema documentation. Your schema file is using the latest syntax and our support is at the 12/17 draft level. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 29, 2000 2:23 PM Subject: Re: Schema Validation with Xerces-J
> > > > > Now I am past the socket connection problem, thanks to Mike Hucka, > but still can't get the validation working. > > Here's my XML file (foo_schema.xml) : > > <?xml version="1.0"?> > <doc xmlns="foo.xsd">Hello</doc> > > > And here's my Schema file (foo.xsd): > > <schema xmlns="http://www.w3.org/1999/XMLSchema"> > <element name="doc" type="DocumentType"/> > <complexType name="DocumentType"> > <attribute name="xmlns" type="string"/> > </complexType> > </schema> > > I get the following error: > > Attribute "xmlns" must be declared for element type "doc". at line 2, > column 12. > No validator for datatype DocumentType > > > What am I doing wrong? > Any help is greatly appreciated. > > > Cheers, > > > Tammam > > > >