Page 1 of 1
XSD validation fails but code insight works.
Posted: Wed Jul 23, 2003 7:23 pm
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?
Posted: Thu Jul 24, 2003 12:05 am
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