Re: Validating a xsd schema file

2007-11-16 Thread Michael Glavassevich
Hi Simon, The only benefit I could see to doing both is that you'll get PSVI from the validation against XMLSchema.xsd which your application may want to use. Otherwise it's just doing redundant work. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E

Re: Validating a xsd schema file

2007-11-16 Thread Simon Bøggild
Thank you for your input. Would it be enough to simply use SchemaFactory to check if the schema is valid? Or is validation against XMLSchema.xsd still necessary? Thanks, Simon On Nov 16, 2007 5:05 AM, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > Validating your schema against the schema for

Re: Validating a xsd schema file

2007-11-15 Thread Michael Glavassevich
Validating your schema against the schema for schemas (XMLSchema.xsd) isn't sufficient for determining whether your schema is valid. There are many constraints which cannot be expressed in the language, for example the complex rules for particle derivation [1] which apply to complex type restrictio

Re: Validating a xsd schema file

2007-11-15 Thread Francesco Lazzarino
i'm not sure how SQC works but XMLSchema is XML and thus it can be validated as any other xml file. i believe (i'm a little rusty) that XMLSchemas are instances of XMLSchema.xsd and that uses XMLSchema.dtd that assumes you want to validate it for correctness according to XMLSchema.xsd and XMLSche