You might try a target namespace in the xsd and make sure that matches up with the xmlns attribute on instance document root elements. You don't need to specify the schema location in instance documents, but you do need to specify the namespace the document is in. Then, to get the loaded schema file to be applied to the instance, the system needs to know that the schema targets a certain namespace by the targetNamespace attribute on the xs:schema element.
Somebody correct me if I'm wrong.... Rachael > -----Original Message----- > From: Hannum Daniel [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 11:05 AM > To: '[EMAIL PROTECTED]' > Subject: Can't seem to validate against an external grammar > > > > Hi, all > > I'm trying to validate an XML document against an external > schema. That is, > the document itself does not contain a link to the schema; > there is a local > file containing the schema and I will validate every XML file > against that. <snip> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]