XSD validation fails but code insight works.

Having trouble installing Oxygen? Got a bug to report? Post it all here.
paulrbrown
Posts: 4
Joined: Wed Jul 23, 2003 5:41 am

XSD validation fails but code insight works.

Post by paulrbrown »

I have an XSD declared in a document, and Oxygen correctly assigns the code insight pop-ups for the various legal elements. However, validation fails with the error "cannot find declaration of [root element name]".

Hints/fixes?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Paul,

The only case I can think of is if the schema is modified after the document was opened. When you open the document the schema is detected and the code insight is initialized with that schema. If the schema content is cleared for instance and the schema is saved then the code insight will show the right proposals but a validation will fail.

If this is not the case then send us a sample document and schema if possible so we can reproduce the problem (post it here or send it to support@oxygenxml.com).

Best Regards,
George
Post Reply