4Suite API Documentation: Ft.Xml.Xslt.MessageSource

4Suite™ API Documentation

# ► Module Ft.Xml.Xslt.MessageSource

XSLT error codes and messages

    Copyright 2003 Fourthought, Inc. (USA).
    Detailed license and copyright information: http://4suite.org/COPYRIGHT
    Project home, documentation, distributions: http://4suite.org/

Classes: Error |  |  |  | Globals: BUILTIN_TEMPLATE_WITH_PARAMS, DEFAULT_MESSAGE_PREFIX, DEFAULT_MESSAGE_SUFFIX, EXPRESSION_POSITION_INFO, POSITION_INFO, TEMPLATE_CONFLICT_LOCATION, XSLT_EXPRESSION_POSITION_INFO, g_errorMessages

## Classes

class Error

  ### Members

  APPLYIMPORTS_WITH_NULL_CURRENT_TEMPLATE = 100
  ATTRIBUTE_ADDED_TOO_LATE = 150
  ATTRIBUTE_ADDED_TO_NON_ELEMENT = 152
  AVT_EMPTY = 84
  AVT_SYNTAX = 83
  BAD_ATTRIBUTE_NAME = 154
  CHOOSE_REQUIRES_WHEN = 121
  CIRCULAR_ATTRIBUTE_SET = 222
  CIRCULAR_INCLUDE = 113
  CIRCULAR_VAR = 29
  DOC_FUNC_EMPTY_NODESET = 1000
  DUPLICATE_DECIMAL_FORMAT = 270
  DUPLICATE_NAMED_TEMPLATE = 142
  DUPLICATE_NAMESPACE_ALIAS = 31
  DUPLICATE_TOP_LEVEL_VAR = 30
  FWD_COMPAT_WITHOUT_FALLBACK = 320
  ILLEGAL_APPLYTEMPLATE_NODESET = 212
  ILLEGAL_CHOOSE_CHILD = 120
  ILLEGAL_ELEMENT_CHILD = 50
  ILLEGAL_IMPORT = 110
  ILLEGAL_NULL_NAMESPACE_ATTR = 71
  ILLEGAL_NUMBER_FORMAT_VALUE = 293
  ILLEGAL_SHADOWING = 232
  ILLEGAL_TEXT_CHILD = 200
  ILLEGAL_TEXT_CHILD_PARSE = 51
  ILLEGAL_XML_PI = 250
  ILLEGAL_XSL_NAMESPACE_ATTR = 72
  INCLUDE_NOT_FOUND = 112
  INVALID_ATTR_CHOICE = 73
  INVALID_AVT = 85
  INVALID_CHAR_ATTR = 74
  INVALID_EXPRESSION = 87
  INVALID_FOREACH_SELECT = 170
  INVALID_ID_ATTR = 77
  INVALID_NCNAME_ATTR = 79
  INVALID_NMTOKEN_ATTR = 81
  INVALID_NS_URIREF_ATTR = 76
  INVALID_NUMBER_ATTR = 75
  INVALID_PATTERN = 86
  INVALID_PREFIX_ATTR = 80
  INVALID_QNAME_ARGUMENT = 2002
  INVALID_QNAME_ATTR = 78
  LITERAL_RESULT_MISSING_VERSION = 22
  MISSING_REQUIRED_ATTRIBUTE = 70
  MULTIPLE_MATCH_TEMPLATES = 141
  NAMED_TEMPLATE_NOT_FOUND = 131
  NONTEXT_IN_ATTRIBUTE = 153
  NONTEXT_IN_COMMENT = 310
  NONTEXT_IN_PI = 251
  NO_STYLESHEET = 20
  QNAME_BUT_NOT_NCNAME = 82
  RESTRICTED_OUTPUT_VIOLATION = 7000
  SOURCE_PARSE_ERROR = 24
  STYLESHEET_PARSE_ERROR = 23
  STYLESHEET_REQUESTED_TERMINATION = 241
  UNDEFINED_ATTRIBUTE_SET = 160
  UNDEFINED_DECIMAL_FORMAT = 271
  UNDEFINED_PREFIX = 52
  UNKNOWN_EXTENSION_ELEMENT = 321
  UNKNOWN_NODE_BASE_URI = 1001
  UNKNOWN_OUTPUT_METHOD = 260
  UNSUPPORTED_NUMBER_LANG_VALUE = 294
  UNSUPPORTED_NUMBER_LETTER_FOR_LANG = 295
  VAR_WITH_CONTENT_AND_SELECT = 233
  WRONG_ARGUMENT_TYPE = 2001
  XSLT_ILLEGAL_ELEMENT = 27

## Globals

BUILTIN_TEMPLATE_WITH_PARAMS = 'Built-in template invoked with params that will ...This message will only appear once per transform.'
DEFAULT_MESSAGE_PREFIX = 'STYLESHEET MESSAGE:\n'
DEFAULT_MESSAGE_SUFFIX = '\nEND STYLESHEET MESSAGE\n'
EXPRESSION_POSITION_INFO = 'In stylesheet %s, line %s, column %s in "%s":\n%s'
POSITION_INFO = 'In stylesheet %s, line %s, column %s:\n%s'
TEMPLATE_CONFLICT_LOCATION = 'In stylesheet %s, line %s, column %s, pattern %s'
XSLT_EXPRESSION_POSITION_INFO = '%s\nThe error occurred in the expression "%s".'
g_errorMessages = {20: 'No stylesheets to process.', 22: 'Document root element must have a xsl:version attribute. (see XSLT 1.0 sec. 2.3).', 23: 'Error parsing stylesheet (%s): %s', 24: 'Error parsing source document (%s): %s', 27: "Illegal element '%s' in XSLT Namespace (see XSLT 1.0 sec. 2.1).", 29: 'Circular variable reference error (see XSLT 1.0 sec. 11.4) for variable or parameter: (%s, %s)', 30: 'Top level variable %s has duplicate definitions ...e same import precedence. (see XSLT 1.0 sec. 11)', 31: 'The namespace for "%s" has duplicate namespace a...ame import precedence. (see XSLT 1.0 sec. 2.6.2)', 50: "Illegal child '%s' within element '%s'", 51: "Illegal literal text %s within element '%s'", ...}