XPath Error Codes

This section describes error codes that are returned due to errors in XPath expressions.

XPATH-100001: Null Content

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100002: Expected non-repeating, got repeating

  • Role:  errorRole

  • Category:  BW-Core

  • Description:

  • Resolution:  

XPATH-100003: Expected more than 1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100004: Exceeds maximum occurrence

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100005: Unexpected %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100006: No functions in namespace:%1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100010: Cannot resolve prefix:%1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100011: Cannot resolve function without prefix.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100012: No such function.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100013: Expected 1 argument

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100014: Expected %1 arguments

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100015: Expected at least 1 argument

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100016: Expected at least %1 arguments

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100017: Expected %1 or %2 arguments

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100020: Expected a node-set

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100021: No matching %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100022: Variable not defined

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100030: Interpreted as a double, rounded to: %1. Use a string constant for arbitrary precision.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100031: Unterminated escape character. Use & for ampersand.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100032: XPath indexes are 1 based.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100100: Variable '%1' already defined in this template

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100101: Illegal variable name

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100110: The substituted type '%1' is not a sub-type of the element's type

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100111: Cannot load the schema for the type substitution

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100112: No such type in schema for the type substitution

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100113: Element is abstract and cannot appear in a valid document

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100114: Type is abstract and cannot appear in a valid document

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100115: This element is not allowed to be nil

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100116: Cannot load the schema for the element

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100117: Unexpected output, no such element in the schema

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100118: Unexpected output, no such element in the current context

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100119: Multiple schemas with namespace '%1' found, and no import to disambiguate between them.

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100120: No formula expected on structure

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100130: Group-by required for for-each-group

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100131: Group-by must be the first child of for-each-group

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100132: Only 1 Group-by allowed for a for-each-group

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100140: Unexpected output, '%1'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100141: Unexpected output, '%1'; exceeds maximum occurrence

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100142: Unexpected text output

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100143: Unexpected output, '%1'; got namepsace '%2', expected namespace '%3'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100150: Value required for '%1'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100151: Element '%1' required

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100152: Not all required components of '%1' are complete

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100153: The output generated inside '%1' is incomplete

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100154: The output generated inside '%1' is not valid

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100155: Missing preceding output terms

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100190: Components inside of '%1' contain errors

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100200: Change namespace to %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100202: Rename to %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100203: Move to: %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100204: Move to before: %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100210: Copy-of incompatible; names match, but content differs

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100300: Formula has errors

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100301: Marker must be filled in

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100400: A 'when' statement cannot appear after an 'otherwise'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100401: Only 1 'otherwise' statement is allowed in a 'choose'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100402: Only 'when' and 'otherwise' can appear under 'choose'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100410: All 'sort' statements must appear before anything else

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100420: Can generate more than the expected output of '%1'

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100421: The 'sort' statement must appear directly inside a 'for-each' or 'apply-templates' statement

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100500: Expected %1

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100501: Unexpected

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100502: Unexpected end of xpath

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100503: A variable name

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-100600: Coercion error: '%1' (check coercion list)

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200001: Possibly invalid conversion from %1 to %2

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200002: Always true

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200003: Converting a constant string to a boolean, always true

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200004: Will be converted as if by boolean(), recommend comparing to string

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200005: Will be converted as if by boolean(), recommend converting to a number

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200006: Always false

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200010: position() is relative to inside the filter; equivalent to 'true()' in this usage.

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200100: Statement contains no children; has no effect

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200101: Output is required, so the surrounding 'if' is not required

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200102: Input is not optional, so the surrounding 'if' is not required

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200103: Input is not a node set, so the surrounding 'if' is not recommended

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200110: Simplify to an xsi:nil attribute constant

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200120: The input and this element are both nillable, set to copy-nil

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200121: This element is not nillable

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200122: This input element is not nillable

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200200: The referenced schema component has an error: %1

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-200300: The term %1 is required but not generated in all cases of the choose

  • Role:  warningRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-300001: Converted by %1

  • Role:  infoRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-300100: Optimize by computing '%1' out of the predicate

  • Role:  infoRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-301000: For element '%1', source schema has namespace '%2', the target has namespace '%3'

  • Role:  infoRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-301001: Source schema has name '%1', target has name '%2'

  • Role:  infoRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-301002: Source schema has '%1', target has '%2'

  • Role:  infoRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-400001: The statement 'stylesheet' cannot appear here

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-400101: Expected output '%1' before this

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution:  

XPATH-400102: Expected output '%1' at end of this

  • Role:  errorRole

  • Category:  BW-Core

  • Description:  

  • Resolution: