PageRenderTime 16ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 1ms

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