Loading TOC...

XSLT-VALIDATENODECL

W3C XQuery Standard Equivalent: err:XTTE1512

Message Text

Missing element declaration: Expected declaration for node variable1 in non-lax mode using schema variable2

Cause

Validation failed because an element or attribute was found without a corresponding declaration. In some cases this can occur because an element somewhere within the subtree of the element was missing a declaration. This can be either because the schema is missing the declaration, the proper schema could not be located, or the element or attribute is incorrect (misspelled, for example).

Response

Fix the schema, the content, or the schema location as appropriate.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.