Loading TOC...
Messages and Codes Reference Guide (PDF)

MarkLogic 9 Product Documentation
Messages and Codes Reference Guide
— Chapter 30

TDE Messages

TDE-BADNAMECHANGE

Message Text

View or Schema name in the template conflicts with the names in a previous version of the template. variable1 name capitalization changing from "variable3" to "variable2"

Cause

The updated View or Schema name in the template conflicts with the names in a previous version of the template

Response

Check the view or schema names in the row section of the template declaration and make sure that the capitalization of names is identical to the previous version of the template. For changing the capitalization of a view or schema name, disable all templates that reference the view or schema and wait for TDE related reindexing to finish. Once reindexing is done, you can insert the updated templates with the new capitalized view/schema names.

TDE-BADNODEINCHILDTEMPLATE

Message Text

Collection scopes, directory scopes, and path-namespaces cannot be declared in child extraction templates, bad node:: variable1

Cause

Collection scopes, directory scopes, and path-namespaces cannot be declared in child extraction templates.

Response

Move the collection scopes, directory scopes and the path-namespaces to the top-level template.

TDE-BADVALEXPRESSION

Message Text

Invalid val expression: variable1

Cause

Incorrect Template val expression.

Response

Fix the Template val expression.

TDE-COMPILEFAILED

Message Text

Compile for variable1='variable2' returns variable3

Cause

The XQuery expression could not be compiled correctly

Response

Check if the XQuery expression is valid (syntax error)

TDE-CONTEXTEVALFAILED

Message Text

Eval for context='variable1' has failed

Cause

The context expression in the template could not be evaluated correctly on one of the nodes in the document

Response

Check if the context expression can be evaluated against the nodes in the failing document

TDE-EVALFAILED

Message Text

Eval for variable1='variable2' returns variable3

Cause

The XQuery expression could not be evaluated correctly

Response

Check if the XQuery expression can be evaluated correctly with the current context

TDE-INCONSISTENTNAME

Message Text

View or Schema name is not consistent across extraction templates. variable1 name different capitalization "variable3" vs. "variable2"

Cause

The View or Schema name in the template conflicts with the names in other templates

Response

Check the view or schema names in the row section of all the relevant template declarations and make sure that the capitalization of names is identical across all templates. For changing the capitalization of a view or schema name, disable all templates that reference the view or schema and wait for TDE related reindexing to finish. Once reindexing is done, you can insert the updated templates with the new capitalized view/schema names.

TDE-INCONSISTENTVIEW

Message Text

View declaration is not consistent across extraction templates: variable1

Cause

The view declaration is not consistent across extraction templates

Response

Check the view declaration, and make sure that non-nullable columns have the same scalar type and nullability. Also check the view-layout setting

TDE-INDEX

Message Text

Error applying template variable1 to document variable2: exception_stack

Cause

User inserted a document where certain data caused an error in one of the extraction templates. The most common causes are wrong data-type, missing data for the specified column or triple, the template matched multiple nodes (revisit the context or the val expression). Also user didn't set the invalid-values option in the row/triple configuration.

Response

Check the error returned. Either change the data-type in the template, fix the val expression or modify the context matching. If any of those cannot be changed and you still want to insert the data, set the invalid-values option to "ignore" either on the column or the triple's subject, predicate or object.

TDE-INVALIDCOLUMNNAME

Message Text

The specified column doesn't exist.: could not find column "variable1" under view "variable2" and schema "variable3"

Cause

The specified column doesn't exist.

Response

Verify column, view and schema names.

TDE-INVALIDENABLEDNODE

Message Text

The enabled element can only be used in the top-level template. Child templates cannot be enabled/disabled separately, bad node: variable1

Cause

The enabled element can only be used in the top-level template. Child templates cannot be enabled/disabled separately.

Response

Move the enabled element to the top-level template.

TDE-INVALIDSQLNAME

Message Text

Invalid SQL object name: "variable1"

Cause

Invalid SQL database object name

Response

Check that the column, view or schema name complies with the SQL identifiers naming rules.

TDE-INVALIDSQLNAMENODE

Message Text

Invalid SQL object name: "variable1" for variable2

Cause

Invalid SQL database object name

Response

Check that the column, view or schema name complies with the SQL identifiers naming rules.

TDE-INVALIDTEMPLATE

Message Text

Invalid TDE template: variable1

Cause

Invalid TDE template

Response

Invalid TDE template

TDE-INVALIDTEMPLATENODE

Message Text

Invalid extraction template node: variable1

Cause

The extraction template does not follow the schema

Response

Check the extraction template format and validate against the schema

TDE-INVALIDVIEWNAME

Message Text

The specified view doesn't exist.: could not find view "variable1" under schema "variable2"

Cause

The specified view doesn't exist.

Response

Verify view and schema names.

TDE-MISSINGCOLUMNDATA

Message Text

The specified column ID doesn't exist.: could not find column ID for variable1

Cause

The specified column ID doesn't exist.

Response

Verify that the column ID is correct.

TDE-MISSINGSCOPE

Message Text

A directory or collection scope is required for the current context: variable1

Cause

A directory or collection scope is required for the current context

Response

Either add a directory or a collection scope to the template

TDE-NOSCHEMADB

Message Text

No schema database for TDE resource: variable1

Cause

The content database does not have a schema database.

Response

Make sure that the correct schema database is attached to the content database.

TDE-REPEATEDCOLUMN

Message Text

A column is declared more than once in the same template row: column "variable1" under view "variable2" and schema "variable3"

Cause

A column is declared more than once in the same template row.

Response

Make sure the column is declared only once in the template row.

TDE-ROLLINGUPGRADE

Message Text

Cannot add a TDE template during rolling upgrade: variable1

Cause

Adding a TDE template when the cluster has not been fully upgraded.

Response

Make sure to upgrade all the nodes before inserting TDE templates.

TDE-VIEWCONFLICT

Message Text

View name conflict between an extraction template view and a range index based view: view "variable1" and schema "variable2"

Cause

View name conflict between an extraction template view and a range index based view

Response

Make sure the (schema name, view name) combination is unique between extraction template views and range index-based views

« Previous chapter
Next chapter »