/packages/fcl-sdo/src/base/sdo_consts.pas

https://github.com/slibre/freepascal · Pascal · 138 lines · 115 code · 7 blank · 16 comment · 0 complexity · e87c2c20063764230c05a47654839087 MD5 · raw file

  1. {
  2. This file is part of the Free Pascal Class Library SDO Implementation
  3. Copyright (c) 2012 by Inoussa OUEDRAOGO
  4. Free Pascal development team
  5. This unit implements sdo constants
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit sdo_consts;
  13. interface
  14. const
  15. s_any = 'any';
  16. s_anyAttribute = 'anyAttribute';
  17. s_append = 'append';
  18. s_change = 'change';
  19. s_changeSummary = 'changeSummary';
  20. s_changeSummaryListObject = 'changeSummaryListObject';
  21. s_create = 'create';
  22. s_datagraph = 'datagraph';
  23. s_dataValues = 'dataValues';
  24. s_delete = 'delete';
  25. s_index = 'index';
  26. s_insert = 'insert';
  27. s_item = 'item';
  28. s_kind = 'kind';
  29. s_listChanges = 'listChanges';
  30. s_nil = 'nil';
  31. s_propertyType = 'propertyType';
  32. s_ref = 'ref';
  33. s_schema = 'schema';
  34. s_sdo = 'sdo';
  35. s_unset = 'unset';
  36. s_xml = 'xml';
  37. s_xml_ns = 'xmlns';
  38. s_xsd = 'xsd';
  39. s_xsd_namespace = 'http://www.w3.org/2001/XMLSchema';
  40. s_xsi_namespace = 'http://www.w3.org/2001/XMLSchema-instance';
  41. // Database related constants
  42. s_db_namespace = 'sdo.db';
  43. s_DataRowType = 'DataRowType';
  44. s_DataSetType = 'DatasetType';
  45. s_Row = 'Row';
  46. s_RowCount = 'RowCount';
  47. resourcestring
  48. SMSG_FileNotFound = 'File not found : "%s"';
  49. SERR_BaseTypeNotSpecfifiedForSimpleType = 'Base type is not specified for the simple type, parsing : "%s".';
  50. SERR_CannotMakeInternalSymbolName ='Unable to make an internal symbol Name from "%s".';
  51. SERR_CannotResolveNamespace = 'Unable to resolve this namespace : "%s".';
  52. SERR_DataFilterNotFound = 'Data Filter not found : "%s".';
  53. SERR_DuplicateBindingName = 'Duplicated binding : "%s".';
  54. SERR_ExpectedButFound = '%s expected but %s found.';
  55. SERR_ExpectedTypeDefinition = '"%s" was expected to be a type definition.';
  56. SERR_ExpectingRemotableObjectClass = 'Expecting remotable object class but found "%s".';
  57. SERR_FailedTransportRequest = '%s Request to %s failed.';
  58. SERR_HeaderNotUnderstood = 'Header "%s" not Understood.';
  59. SERR_IllegalChar = 'Illegal character for that encoding : "%s".';
  60. SERR_IndexOutOfBound = 'Index out of bound : %d.';
  61. SERR_IncompleteParamTypeRegistration = 'Incomplete type registration for the type of this parameter : "%s".';
  62. SERR_InnerScopeMustBeSimpleType = 'Inner Scope value must be a "simple type" value.';
  63. SERR_InvalidArrayBounds = 'Invalid array bounds.';
  64. SERR_InvalidArrayItemType = 'Invalid array type definition, invalid item type definition : "%s".';
  65. SERR_InvalidArrayLength = 'Invalid array length : %d.';
  66. SERR_InvalidAttributeDef_EmptyName = 'Invalid Attribute definition : empty "name".';
  67. SERR_InvalidAttributeDef_EmptyType = 'Invalid Attribute definition : empty "type".';
  68. SERR_InvalidAttributeDef_EmptyUse = 'Invalid Attribute definition : empty "use".';
  69. SERR_InvalidAttributeDef_InvalidUse = 'Invalid Attribute definition : invalid "use" value "%s".';
  70. SERR_InvalidAttributeDef_MissingName = 'Invalid Attribute definition : missing "name" attribute.';
  71. SERR_InvalidAttributeDef_MissingType = 'Invalid Attribute definition : missing "type" attribute.';
  72. SERR_InvalidCollectionLength = 'Invalid collection length : %d.';
  73. SERR_InvalidComplexSimpleTypeDef_NoRestOrExt = 'Invalid "complexeType.simpleType" definition : restriction/extension not found.';
  74. SERR_InvalidDataTypeInContext = 'Invalid data type in this context : "%s".';
  75. SERR_InvalidDomDocument = 'Invalid DOM document.';
  76. SERR_InvalidElementDef_MissingNameOrRef = 'Invalid <element> definition : missing "name" or "ref" attribute.';
  77. SERR_InvalidElementDef_EmptyName = 'Invalid <element> definition : empty "name".';
  78. SERR_InvalidElementDef_EmptyType = 'Invalid <element> definition : empty "type".';
  79. SERR_InvalidElementDef_Type = 'Invalid <element> definition : unable to determine the type. Type name : "%s"; Element name :"%s".';
  80. SERR_InvalidEncodedData = 'Invalid encoded data.';
  81. SERR_InvalidEnumItemNode_NoValueAttribute = 'Invalid "enum" item node : no value attribute, type = "%s".';
  82. SERR_InvalidHourOffetValue = '"%d" is not a valid hour offset value.';
  83. SERR_InvalidMaxOccursValue = 'Invalid "maxOccurs" value : "%s.%s".';
  84. SERR_InvalidMinOccursValue = 'Invalid "minOccurs" value : "%s.%s".';
  85. SERR_InvalidMinuteOffetValue = '"%d" is not a valid minute offset value.';
  86. SERR_InvalidEmbeddedScopeOperation = 'Invalid opération on scope, their are no embedded scope.';
  87. SERR_InvalidParameter = 'Invalid parameter : "%s".';
  88. SERR_InvalidPropertyValue = 'Invalid property ("%s") value : "%s".';
  89. SERR_InvalidParameterProc = 'Invalid parameter : "%s"; Procedure = "%s".';
  90. SERR_InvalidParameters = 'Invalid parameters.';
  91. SERR_InvalidPoolParametersArgs = 'Invalid pool arguments Min = %d; Max = %d .';
  92. SERR_InvalidSchemaDoc_NamespaceNotFound = 'Invalid Schema document, namespace not found : %s.';
  93. SERR_InvalidSchemaDoc_NamespaceNotFoundShort = 'Invalid Schema document, namespace not found ( short names ) : %s.';
  94. SERR_InvalidSchemaNode = 'Invalid schema node.';
  95. SERR_InvalidSymbolTable = 'Invalid Symbol table.';
  96. SERR_InvalidTypeDef_AttributeNotFound = 'Invalid type definition, attributes not found : "%s".';
  97. SERR_InvalidTypeDef_BaseAttributeNotFound = 'Invalid extention/restriction of type "%s" : "base" attribute not found.';
  98. SERR_InvalidTypeDef_NamedAttributeNotFound = 'Invalid type definition, unable to find the "%s" attribute : "%s".';
  99. SERR_InvalidTypeDef_NoChild = 'Invalid type definition, this element must have children.';
  100. SERR_InvalidTypeName = 'Invalid type/element name( the name is empty ).';
  101. SERR_IsNotAFieldOf = '"%s" is not a field of "%s".';
  102. SERR_NodeNotFoundByID = 'Node not found with this ID in the document : "%s".';
  103. SERR_NoHandlerForThatVerb = 'No handler for that verb : "%s".';
  104. SERR_NoReaderProc = 'No reader proc for that type, Prop : "(%s : %s)".';
  105. SERR_NoScope = 'There is no scope.';
  106. SERR_NoSerializerFoThisType = 'No serializer for this type : "%s".';
  107. SERRE_ObjectCreationTimeOut = 'Unable to create the object : Timeout expired.';
  108. SERR_OperationNotAllowedOnActivePool = 'Operation not allowed on an active pool.';
  109. SERR_ParamaterNotFound = 'Parameter non found : "%s".';
  110. SERR_Parsing = 'Parsing "%s" ...';
  111. SERR_RecordExtendedRttiNotFound = 'Record extended RTTI informations not found in type registry : "%s".';
  112. SERR_RootObjectCannotBeNIL = 'The root object cannot be NIL.';
  113. SERR_SchemaNodeRequiredAttribute = 'The Schema node must have at least the "%s" attribute.';
  114. SERR_SerializerInitializationException = 'Unable to initialize the serializer of that type : "%s".';
  115. SERR_ServiceNotFound = 'Service not found : "%s".';
  116. SERR_ScopeNotFound = 'Scope not found : "%s".';
  117. SERR_TypeDefinitionNotFound = 'Type definition not found %s : "%s"';
  118. SERR_TypeNodeFoundButUnableToParseIt = 'Type node found but unable to parse it : "%s"';
  119. SERR_TypeNotRegistered = 'Type not registered : "%s".';
  120. SERR_TypeStyleNotSupported = 'This type style is not supported : "%s".';
  121. SERR_UnableToFindNameTagInNode = 'Unable to find the <name> tag in the type/element node attributes.';
  122. SERR_UnableToResolveNamespace = 'Unable to resolve namespace, short name = "%s".';
  123. SERR_UnexpectedEndOfData = 'Unexpected end of data.';
  124. SERR_UnknownProperty = 'Unknown property : "%s".';
  125. SERR_UnsupportedOperation = 'Unsupported operation : "%s".';
  126. implementation
  127. end.