[teiid-commits] teiid SVN: r2548 - in branches/7.1.x: engine/src/main/resources/org/teiid/dqp and 2 other directories.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Sep 8 15:07:34 EDT 2010


Author: rareddy
Date: 2010-09-08 15:07:34 -0400 (Wed, 08 Sep 2010)
New Revision: 2548

Modified:
   branches/7.1.x/common-core/src/main/resources/org/teiid/core/i18n.properties
   branches/7.1.x/engine/src/main/resources/org/teiid/dqp/i18n.properties
   branches/7.1.x/engine/src/main/resources/org/teiid/query/execution/i18n.properties
   branches/7.1.x/engine/src/main/resources/org/teiid/query/i18n.properties
Log:
TEIID-1027: verbose messages in the "i18N.properties" file. These are legacy messages did not get deleted when the code got refactored.

Modified: branches/7.1.x/common-core/src/main/resources/org/teiid/core/i18n.properties
===================================================================
--- branches/7.1.x/common-core/src/main/resources/org/teiid/core/i18n.properties	2010-09-08 18:46:49 UTC (rev 2547)
+++ branches/7.1.x/common-core/src/main/resources/org/teiid/core/i18n.properties	2010-09-08 19:07:34 UTC (rev 2548)
@@ -96,17 +96,11 @@
 InvalidPropertyException.message=Property ''{0}'' with value ''{1}'' is not a valid {2}.
 
 # types (029)
-ERR.003.029.0001=Cannot transform value of invalid type {0}: expecting value of type {1}
 ERR.003.029.0002=Types cannot be null: (source={0}, target={1})
 ERR.003.029.0003=Type names cannot be null: (source={0}, target={1})
-ERR.003.029.0004=Transform cannot be null.
-ERR.003.029.0005=Transform source name cannot be null: {0}
-ERR.003.029.0006=Transform target name cannot be null: {0}
-ERR.003.029.0013=Failed to transform {0} to Boolean.  Expected 0, 1, ''TRUE'', ''FALSE'', or ''UNKNOWN'' for ''{1}''
 ERR.003.029.0014=Invalid BigDecimal format in String: {0}
 ERR.003.029.0015=Invalid BigInteger format in String: {0}
 ERR.003.029.0016=Invalid Byte format in String: {0}
-ERR.003.029.0017=Cannot convert string of length > 1 to character: {0}
 ERR.003.029.0018=Failed to transform String to Date.  Expected format = yyyy-mm-dd for {0}
 ERR.003.029.0019=Invalid double format in String: {0}
 ERR.003.029.0020=Invalid float format in String: {0}
@@ -115,12 +109,8 @@
 ERR.003.029.0023=Invalid short format in String: {0}
 ERR.003.029.0024=Failed to transform String to Timestamp.  Expected format = yyyy-mm-dd hh:mm:ss.fffffffff for {0}
 ERR.003.029.0025=Failed to transform String to Time.  Expected format = hh:mm:ss for {0}
-ERR.003.029.0026=The {0} data type mapping may not be modified.
 
 #CM_UTIL_ERR
-ERR.003.030.0068=Init failed: {0}
-ERR.003.030.0069=Init failed: Unable to retrieve pass key.
-ERR.003.030.0070=Encryption failed: {0}   {1}
 ERR.003.030.0071=Decryption failed: {0}   {1}
 ERR.003.030.0072=Attempt to encrypt null cleartext.
 ERR.003.030.0073=Attempt to encrypt zero-length cleartext.
@@ -130,12 +120,9 @@
 ERR.003.030.0077=Could not get instance of cipher for encryption, invalid padding specified: {0}   {1}  {2}
 ERR.003.030.0078=Could not initialize cipher for decryption, invalid key specified: {0}  {1}
 ERR.003.030.0079=Could not get encrypt cipher''s encoded algorithm parameters due to encoding error: {0}  {1}
-ERR.003.030.0080=Could not initialize cipher for decryption, invalid padding specified: {0}
 ERR.003.030.0081=Encryption failed: {0}
 
 # PROPERTIES_ERR
-ERR.003.021.0010=Unable to create an unmodifiable properties from a null original instance.
-ERR.003.021.0011=Unable to modify this Properties instance.
 
 
 # security.membership
@@ -148,12 +135,6 @@
 ERR.014.407.0019 = The two principals ("{0}" and "{1}") cannot be merged because they are not the same principal.
 
 #JDBCUTIL
-ERR.003.030.0176=Missing JDBC driver class name.
-ERR.003.030.0177=Missing JDBC protocol name.
-ERR.003.030.0178=Missing JDBC database name.
-ERR.003.030.0179=Unable to load the JDBC driver class {0}
-ERR.003.030.0180=Driver {0} can not load {1}
-ERR.003.030.0181=Failed to connect to the Database at {0} check connection properties.
 
 ExceptionHolder.converted_exception=Remote {1}: {0}
 PropertiesUtils.failed_to_resolve_property=failed to completely resolve the property value for key {0}

Modified: branches/7.1.x/engine/src/main/resources/org/teiid/dqp/i18n.properties
===================================================================
--- branches/7.1.x/engine/src/main/resources/org/teiid/dqp/i18n.properties	2010-09-08 18:46:49 UTC (rev 2547)
+++ branches/7.1.x/engine/src/main/resources/org/teiid/dqp/i18n.properties	2010-09-08 19:07:34 UTC (rev 2548)
@@ -56,18 +56,12 @@
 # Error Messages for the dqp Package
 # ==========================================
 #
-# example ERR.022.001.0001=Test Error Message for dqp Package
 
 # application (000)
-ERR.022.000.0001=
 
 # interceptor (001)
-ERR.022.001.0001=
 
 # internal (002)
-ERR.022.002.0001=The configuration file for the embedded DQP could not be found.
-ERR.022.002.0002=Could not deliver response for {0} as request has been removed.
-ERR.022.002.0003=Failed getting first batch for {0}.
 
 # from server package of last release
 # #datatier (018.003)
@@ -258,7 +252,6 @@
 ERR.018.005.0100 = Unable to load code table for because result sizes exceeds the allowed parameter - {0}.
 
 # services (003)
-ERR.022.003.0001=
 
 Request.Invalid_character_in_query=Bind variables (represented as "?") were found but are allowed only in prepared or callable statements.
 

Modified: branches/7.1.x/engine/src/main/resources/org/teiid/query/execution/i18n.properties
===================================================================
--- branches/7.1.x/engine/src/main/resources/org/teiid/query/execution/i18n.properties	2010-09-08 18:46:49 UTC (rev 2547)
+++ branches/7.1.x/engine/src/main/resources/org/teiid/query/execution/i18n.properties	2010-09-08 19:07:34 UTC (rev 2548)
@@ -22,102 +22,38 @@
 
 # Error messages for query (015) project to address internationalization
 # Format:
-# ERR.015.001.0001=Doh! You blew it!
 #
 
 # optimizer (004)
-ERR.015.004.0002= Current program shouldn''t equal recursive program in recursive block: {0}
-ERR.015.004.0005= Unknown command type: {0}
-ERR.015.004.0006= Error finding max set size for model containing {0}
 ERR.015.004.0007= Can''t convert plan node of type {0}
-ERR.015.004.0008= Error determining if command is accessing staging table: {0}
 ERR.015.004.0009= Error finding connectorBindingID for command
 ERR.015.004.0010= Unknown group specified in OPTION MAKEDEP/MAKENOTDEP: {0}
-ERR.015.004.0011= Unknown type ({0}) for Node
 ERR.015.004.0012= Group has an access pattern which has not been met: group(s) {0}; access pattern(s) {1}
-ERR.015.004.0014= Could not find a valid join plan for this query.
-ERR.015.004.0015= The groups {0} and {1} have both an inner and outer join, which cannot be computed.
-ERR.015.004.0016= Unable to join between groups {0} and {1} as join contains both outer and inner joins.
-ERR.015.004.0017= Unexpected error evaluating no element criteria: {0}
-ERR.015.004.0019= Unknown criteria type: {0}
 ERR.015.004.0020= Error getting model for {0}
-ERR.015.004.0021= Error checking model''s abilities for {0}
 ERR.015.004.0023= Error rewriting criteria: {0}
 ERR.015.004.0024= Unable to create a query plan that sends a criteria to \"{0}\".  This connection factory requires criteria set to true indicating that a query against this model requires criteria.  
 ERR.015.004.0029= Could not resolve group symbol {0}
-ERR.015.004.0030= Could not parse query transformation {0}
-ERR.015.004.0033= Found two different contexts with {0}: {1} and {2}
-ERR.015.004.0034= Found two different criteria result sets for {0}: {1} and {2}
 ERR.015.004.0035= The criteria {0} has elements from the root staging table and the document nodes which is not allowed.
 ERR.015.004.0037= No mapping node found named, ''{0}', in use of ''context''
-ERR.015.004.0038= The criteria result set {0} is not in the scope of the context result set {1}
-ERR.015.004.0040= Couldn''t parse binding symbol {0}
-ERR.015.004.0041= Couldn''t resolve binding symbol {0}
-ERR.015.004.0042= The context argument, ''{0}'', is not in the scope of any mapping class of the XML document model.
-ERR.015.004.0043= Could not map symbols in ''context'' criteria: {0}
-ERR.015.004.0044= Could not combine criteria when processing context criteria: {0}
-ERR.015.004.0045= Could not find ancestor node with result set
 ERR.015.004.0046= The XML document element(s) {0} are not mapped to data and cannot be used in the criteria \"{1}\".
-ERR.015.004.0047= The criteria: ''{0}'' maps to more than one source result set.
-ERR.015.004.0048= The criteria: ''{0}'' maps to no source result set.
-ERR.015.004.0051= Could not bind references of staging table {0}: {1}
-ERR.015.004.0053= Could not resolve staging table criteria {0}: {1}
 ERR.015.004.0054= Could not parse query transformation for {0}: {1}
-ERR.015.004.0055= Planner cannot parse criteria string {0}
-ERR.015.004.0056= Planner cannot resolve criteria string {0}
-ERR.015.004.0057= Parent has more than 2 children
-ERR.015.004.0058= Unable to find a symbol with matching short name {0}
-ERR.015.004.0059= Node with no elements has no children
-ERR.015.004.0060= Failed to find a clause path to {0}
-ERR.015.004.0061= Found recursive node {0} without recursive root node.
-ERR.015.004.0063= No mapping node found in mapping document with result set name {0}
-ERR.015.004.0064= Metadata doesn''t have corresponding full name for element {0}
-ERR.015.004.0066= Cannot get fully resolved select elements.
-ERR.015.004.0067= The context mapping node argument cannot be null.
 ERR.015.004.0068= Context functions within the same conjunct refer to different contexts: {0}
-ERR.015.004.0070= Could not resolve correlated reference symbol during planning.
-ERR.015.004.0071= Error checking if group is physical or virtual: {0}
 
 # processor (006)
 ERR.015.006.0001= XMLPlan toString couldn''t print entire Program.
-ERR.015.006.0003= ProcedurePlan toString couldn''t print entire Program.
-ERR.015.006.0017= Error trying to substitute the reference element :{0} with its value, unable to find the element in the variable context.
-ERR.015.006.0019= Error processing the AssignmentStatement in stored procedure language, expected to get a single row of data to be assigned to the variable {0} but got more.
-ERR.015.006.0020= Error trying to evaluate the criteria used on the IF statement.
-ERR.015.006.0021= Tuple Source not found for result set named {0}
-ERR.015.006.0022= Unable to remove tuple source for result set named {0}
-ERR.015.006.0023= Unexpected exception processing plan: {0}
-ERR.015.006.0024= Failed to evaluate expressions in atomic command
-ERR.015.006.0025= Unexpected error evaluating no element criteria: {0}
-ERR.015.006.0026= Error evaluating join expression while producing dependent join values
-ERR.015.006.0027= Unable to process this query without a criteria.
-ERR.015.006.0029= Exception finding temporary tuple source for subquery processor plan {0}
-ERR.015.006.0032= No input symbol was found for the output symbol: {0}
 ERR.015.006.0034= Unexpected symbol type while updating tuple: {0}
-ERR.015.006.0035= Failed attempting to project {0} from {1}
 ERR.015.006.0037= Tuple source does not exist: {0}
-ERR.015.006.0038= Unable to get schema from the tuple source
 ERR.015.006.0039= Instructed to abort processing when recursion limit reached.
-ERR.015.006.0040= Validation features of xerces parser are not recognized, please make sure the xerces parser supports validation ({0})
-ERR.015.006.0041= Validation features of xerces parser are not supported, please make sure the xerces parser supports validation ({0})
 ERR.015.006.0042= No xml schema to validate document against
-ERR.015.006.0046= Error while performing XSLT transformation on the XML results
-ERR.015.006.0047= Unexpected exception processing plan: {0}
 ERR.015.006.0048= Fatal Error: {0}
 ERR.015.006.0049= Error: {0}
-ERR.015.006.0050= Got invalid command type - expected processor plan {0}
 ERR.015.006.0051= Invalid direction for MoveDocInstruction: {0}
-ERR.015.006.0052= Got invalid command type - expected processor plan
 ERR.015.006.0054= Instructed to abort processing as default of choice.
-ERR.015.006.0060= The query for the virtual document {0} produced more than one result document; each virtual document or virtual document query used by an XQuery may only return exactly one result document.
-ERR.015.006.0061= The query for the virtual document {0} produced zero result documents; each virtual document or virtual document query used by an XQuery must return exactly one result document.
 
 # rewriter (009)
 ERR.015.009.0001= Error evaluating criteria: {0}
 ERR.015.009.0002= Error translating criteria on the user''s command, the criteria translated to {0} is not valid
 ERR.015.009.0003= Error simplifying mathematical expression: {0}
-ERR.015.009.0004= Unable to {0} {1} of type [{2}] to the expected type [{3}].
-ERR.015.009.0005= Unexpected error evaluating {0}
 QueryRewriter.infinite_while=Infinite loop detected, procedure will not be executed.
 
 BatchedUpdatePlanner.unrecognized_command=The batch contained an unrecognized command: {0}

Modified: branches/7.1.x/engine/src/main/resources/org/teiid/query/i18n.properties
===================================================================
--- branches/7.1.x/engine/src/main/resources/org/teiid/query/i18n.properties	2010-09-08 18:46:49 UTC (rev 2547)
+++ branches/7.1.x/engine/src/main/resources/org/teiid/query/i18n.properties	2010-09-08 19:07:34 UTC (rev 2548)
@@ -104,7 +104,6 @@
 ERR.015.002.0011 = Invalid type: {0}
 ERR.015.002.0012 = QueryNode<error converting>
 
-ERR.015.004.0026= The following predicates must reference an XML element: {0}
 
 # parser (005)
 QueryParser.emptysql=Parser cannot parse an empty sql statement.
@@ -123,7 +122,6 @@
 ERR.015.006.0016= Unknown expression type: {0}
 ERR.015.006.0033= Unable to evaluate {0}: {1}
 ERR.015.006.0055= Unable to evaluate LOOKUP function.
-ERR.015.006.0056= The subquery of this compare criteria has to be scalar, but returned more than one value: {0}
 ERR.015.006.0057= Unknown subquery comparison predicate quantifier: {0}
 ERR.015.006.0058= The command of this scalar subquery returned more than one value: {0}
 
@@ -131,74 +129,48 @@
 ERR.015.007.0001= Item may not be null
 
 # resolver (008)
-ERR.015.008.0001= Error executing conversion function to convert value
-ERR.015.008.0002= Unknown command type: {0}
 ERR.015.008.0003= Only one XML document may be specified in the FROM clause of a query.
-ERR.015.008.0004= Query is invalid - it specifies a mixture of groups and documents in the FROM clause.
-ERR.015.008.0005= Failed parsing delete plan for {0}
 ERR.015.008.0007= Incorrect number of parameters specified on the stored procedure {2} - expected {0} but got {1}
-ERR.015.008.0008= Failed parsing stored query transformation for {0}
 ERR.015.008.0009= {1} is not allowed on the virtual group {0}: no {1} procedure was defined.
 ERR.015.008.0010= INSERT statement must have the same number of elements and values specified.  This statement has {0} elements and {1} values.
 ERR.015.008.0011= Error parsing query plan transformation for {0}
 ERR.015.008.0012= Unable to resolve update procedure as the virtual group context is ambiguous.
 ERR.015.008.0013= Error parsing query plan transformation for {0}
-ERR.015.008.0014= The expression on the assignment statement is being assigned to a variable of differing type and no implicit conversion is available: {0}
 ERR.015.008.0015= Unknown statement type: {0}
-ERR.015.008.0016= Failed parsing update plan for {0}
-ERR.015.008.0018= Left side of ''{0}'' must be an element.
 ERR.015.008.0019= Unable to resolve element: {0}
 ERR.015.008.0020= Element is ambiguous and must be qualified: {0}
-ERR.015.008.0021= No element IDs found for document {0}
 ERR.015.008.0022= Failed parsing reference binding: {0}
-ERR.015.008.0023= Could not resolve binding reference: {0}
-ERR.015.008.0024= Could not resolve group for binding reference: {0}
 ERR.015.008.0025= Binding reference cannot be a function: {0}
 ERR.015.008.0026= Expression ''{0}'' has a parameter with non-determinable type information.  The use of an explicit convert may be necessary.
 ERR.015.008.0027= The expressions in this criteria are being compared but are of differing types ({0} and {1}) and no implicit conversion is available:  {2}
-ERR.015.008.0028= The expressions in this criteria are being compared but are of differing types and no conversion can be performed on an aggregate symbol.
 ERR.015.008.0029= This criteria must have string or CLOB expressions on each side: {0}
 ERR.015.008.0030= Type cannot be null for expression: {0}
 ERR.015.008.0031= This criteria must have values only of the same type as the left expression: {0}
 ERR.015.008.0032= There must be exactly one projected symbol of the subquery: {0}
 ERR.015.008.0033= The left expression must have a type convertible to the type of the subquery projected symbol: {0}
-ERR.015.008.0034= Expression type cannot be null: {0}
 ERR.015.008.0035= Type was null for {0} in function {1}
 ERR.015.008.0036= The function ''{0}'' has more than one possible signature.
 ERR.015.008.0037= The conversion from {0} to {1} is not allowed.
-ERR.015.008.0038= Could not obtain conversion type value for {0}
 ERR.015.008.0039= The function ''{0}'' is an unknown form.  Check that the function name and number of arguments is correct.
 ERR.015.008.0040= The function ''{0}'' is a valid function form, but the arguments do not match a known type signature and cannot be converted using implicit type conversions.
 ERR.015.008.0041= Expected value of type ''{0}'' but ''{1}'' is of type ''{2}'' and no implicit conversion is available.
 ERR.015.008.0042= Element ''{0}'' in ORDER BY is ambiguous and may refer to more than one element of SELECT clause.
 ERR.015.008.0043= Element ''{0}'' in ORDER BY was not found in SELECT clause.
-ERR.015.008.0044= No element IDs found for group {0}
 ERR.015.008.0045= Failed parsing insert plan for {0}
 ERR.015.008.0046= The symbol {0} may only be used once in the FROM clause.
 ERR.015.008.0047= The symbol {0} refers to a group not defined in the FROM clause.
-ERR.015.008.0048= SELECT DISTINCT is not allowed for XML queries.
 ERR.015.008.0049= Bindings must be specified
-ERR.015.008.0050= Element specified is ambiguous, it exists in two or more groups on this command.
 ERR.015.008.0051= Symbol {0} is specified with an unknown group context
-ERR.015.008.0052= Unknown metadata element: {0}
 ERR.015.008.0053= Element "{0}" is ambiguous, it exists in two or more groups.
 ERR.015.008.0054= Element "{0}" is not defined by any relevant group.
 ERR.015.008.0055= Group specified is ambiguous, resubmit the query by fully qualifying the group name
 ambiguous_procedure= Procedure ''{0}'' is ambiguous, use the fully qualified name instead
 ERR.015.008.0056= Group does not exist
-ERR.015.008.0057= Variable {0} is not resolvable.
-ERR.015.008.0058= Variable {0} is declared with an invalid datatype {1}
-ERR.015.008.0059= Element {0} specified on the HAS/TRANSLATE criteria is not present on the virtual group being updated {1}
-ERR.015.008.0060= Element {0} specified is not present on the virtual group  being updated {1}
 ERR.015.008.0061= Unable to resolve stored procedure {0} the datatype for the parameter {1} is not specified.
 ERR.015.008.0062= Unable to resolve return element referred to by LOOKUP function: {0}
 ERR.015.008.0063= The first three arguments for the LOOKUP function must be specified as constants.
-ERR.015.008.0064= The expressions in this criteria are being compared but are aggregate functions of differing types, thus no conversion can be performed.
 ERR.015.008.0065= Group {0} is not allowed in LOOKUP function.
-ERR.015.008.0066= Aggregate functions cannot be nested in scalar functions.
-ERR.015.008.0067= CASE expressions cannot contain aggregate functions: {0}
 ERR.015.008.0068= Could not find a common type to which all {0} expressions can be implicitly converted: {1}
-ERR.015.008.0069= Error parsing doc() arg of XQuery.
 ERR.015.008.0070= Aliased Select Symbols are not valid in XML Queries.
 XMLQueryResolver.no_expressions_in_select=Expressions cannot be selected by XML Queries
 
@@ -206,36 +178,21 @@
 ERR.015.010.0001= Invalid compare operator: {0}
 ERR.015.010.0002= Invalid logical operator: {0}
 ERR.015.010.0003= Cannot set null collection of elements on GroupBy
-ERR.015.010.0004= Cannot set null collection of elements on OrderBy
-ERR.015.010.0005= Cannot replace variables in ORDER BY with a different sized set of variables
 ERR.015.010.0006= Invalid parameter type [{0}] must be IN, OUT, INOUT, RETURN_VALUE, RESULT_SET
-ERR.015.010.0007= Unable to obtain value for this parameter
-ERR.015.010.0008= Parameter is represented by an expression, not a constant: {0}
 ERR.015.010.0009= No columns exist.
 ERR.015.010.0010= Invalid column index: {0}
 ERR.015.010.0011= Parameter cannot be null
-ERR.015.010.0012= No value iterator is available; the subquery for this Set Criteria has not yet been processed.
-ERR.015.010.0013= Unknown aggregate function: {0}.  Must be in {1}
 ERR.015.010.0014= Constant type should never be null
 ERR.015.010.0015= Unknown constant type: {0}
 ERR.015.010.0016= A group symbol may not resolve to a null metadata ID.
 ERR.015.010.0017= The name of a symbol may not be null.
 ERR.015.010.0018= Inconsistent number of elements in transformation projected symbols and virtual group.
-ERR.015.010.0019= VariableMap cannot be null
-ERR.015.010.0020= VariableContext cannot be null
 ERR.015.010.0021= Elements cannot be null
 ERR.015.010.0022= Functions cannot be null
 ERR.015.010.0023= Groups cannot be null
-ERR.015.010.0024= Predicates cannot be null
-ERR.015.010.0025= References cannot be null
-ERR.015.010.0026= Unexpected exception while checking type of constant: {0}
-ERR.015.010.0027= TranslateCriteria cannot be null
-ERR.015.010.0028= Variables cannot be null
 ERR.015.010.0029= Cannot create AliasSymbol wrapping AliasSymbol
-ERR.015.010.0030= Unexpected symbol type: {0}
 ERR.015.010.0031= Illegal variable name ''{1}''.  Variable names can only be prefixed with the special group name ''{0}''.
 ERR.015.010.0032= Variable {0} was previously declared.
-ERR.015.010.0034= No value iterator is available; the subquery for this predicate criteria has not yet been processed.
 ERR.015.010.0035= The <expression> cannot be null in CASE <expression>
 ERR.015.010.0036= There must be at least one WHEN expression and one THEN expression. The number of WHEN and THEN expressions must be equal.
 ERR.015.010.0037= The WHEN part of the CASE expression must contain an expression.
@@ -323,7 +280,6 @@
 
 # Log messages for query (015) project to address internationalization
 # Format:
-# MSG.015.001.0001=Entering foo()
 #
 
 # function (001)



More information about the teiid-commits mailing list