Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix K XML Conversion Function APIs |
This section describes the error codes and messages that may be posted when XML conversion function APIs are used.
"{0}" and "{1}" in messages indicates a variable character string.
Messages posted from the XML processor are sometimes displayed in variable character strings. Refer to List of Error Messages Posted by the XML Processor, for information concerning XML processor messages posted when the XML conversion function is used.
Error code |
Message |
Action required |
---|---|---|
XCV0003 |
The specified data type is not supported. |
Correct the data type. |
XCV0006 |
The specified output destination object is invalid. |
Check the specified output destination. |
XCV0007 |
The specified encoding is not supported. |
Specify a valid encoding. |
XCV0008 |
The ResultSet is null. |
Correct such that this message is not invoked when ResultSet is empty. |
XCV0009 |
The specified output format is not supported. |
Correct to an output format that is supported. |
XCV0010 |
The required argument was not passed when the error code was specified. |
Check the XML conversion function API. |
XCV0011 |
The class ({0}) cannot be found. |
Check the Java execution environment. |
XCV0012 |
The mapping rule schema is incorrect. Detail: {0} |
Check the URL of the specified database. |
XCV0013 |
No data in ResultSet. Detail: {0} |
Check the mapping rules and the database table contents. |
XCV0014 |
An error occurred during ResultSet operation. Detail: {0} |
Remove the fundamental cause of the error as indicated in the details information. |
XCV0015 |
Failed to create XML document. Detail: {0} |
Remove the fundamental cause of the error as indicated in the details information. |
XCV0016 |
The class is not found. Detail: {0} |
Check if the Java option classpath and the environment variable CLASSPATH are set correctly. |
XCV0017 |
Failed to analyze the Mapping Rule. Detail: {0} |
The mapping rules contain an error. Correct the mapping rules as indicated in the details information. |
XCV0018 |
There is no XML document to be output. |
Check the mapping rules and the database table contents. |
XCV0019 |
More than one documentRule element is defined in the mapping rule file. |
Define only one documentRule tag. |
XCV0020 |
The mapping rule id ({0}) is duplicated. |
Make the id unique. |
XCV0021 |
The mapping rule root element (id: {0}) is duplicated. |
Define only one root element. |
XCV0022 |
The value of the parent attribute in a mapping rule ({0}) is invalid. |
Check the specification content for the parent tag. |
XCV0023 |
The controller-arg attribute is not defined in a mapping rule ({0}). |
When the controller attribute is KEY, specify controller-arg. |
XCV0024 |
Either both colname and colno are specified in a mapping rule ({0}), or neither is specified. |
Specify either colname or colno. |
XCV0025 |
Duplicate elements are been defined in a mapping rule ({0}). |
Delete the duplicate element. |
XCV0026 |
The value of the attrof attribute in a mapping rule ({0}) is invalid. |
Correct the attrof attribute. |
XCV0027 |
Duplicate attributes are defined in a mapping rule ({0}). |
Define the attribute that has multiple definitions only once. |
XCV0028 |
Either the attrof attribute is not specified in a mapping rule ({0}), or the parent attribute is specified. |
Correct the extension rule (extensionRule). |
XCV0029 |
The value of the extender attribute in a mapping rule ({0}) is invalid. |
If attrname is used, set a value other than STATIC for the extender attribute. |
XCV0030 |
The extender-arg attribute is not defined in a mapping rule ({0}). |
If STATIC is set for extender, define extender-arg. |
XCV0032 |
The value of the controller-arg attribute in a mapping rule ({0}) is invalid. |
Specify the correct value for controller-arg. |
XCV0034 |
The value of the handler-arg attribute in a mapping rule ({0}) is invalid. |
Specify the correct value for handler-arg. |
XCV0035 |
The encoding specified in the handler-arg attribute in a mapping rule ({0}) is not supported. |
Correct the handler-arg encoding specification. |
XCV0041 |
The value of the handler attribute in a mapping rule ({0}) is invalid. |
Specify the correct value. |
XCV0042 |
The value of the controller attribute in a mapping rule ({0}) is invalid. |
Specify the correct value. |
XCV0043 |
Either the tagname attribute or the attrname attribute must be specified. |
Specify either the tagname attribute or the attrname attribute. |
XCV0044 |
If the tagname attribute is specified, the parent attribute must also be specified. |
Specify the parent attribute. |
XCV0045 |
If the tagname attribute is specified, the attrof attribute must not be specified. |
Delete the attrof attribute. |
XCV0046 |
If the attrname attribute is specified, the parent attribute must not be specified. |
Delete the parent attribute. |
XCV0047 |
If the attrname attribute is specified, the attrof attribute must also be specified. |
Specify the attrof attribute. |
XCV0048 |
The tagname attribute in a mapping rule ({0}) cannot be omitted if the column name is not defined in the record on the first row of the CSV file. |
Specify the tagname attribute, or set the column names in the first row. |
XCV0049 |
The attrname attribute in a mapping rule ({0}) cannot be omitted if the column name is not defined in the record on the first row of the CSV file. |
Specify the attrname attribute, or set the column names in the first row. |
XCV0050 |
|
|
XCV0051 |
No column name is defined in the CSV file. |
Define the column name, or correct the settings such that column names are not in the first row. |
XCV0053 |
The specified column number ({0}) exceeds the number of columns in the CSV file. |
Correct the mapping rule. |
XCV0054 |
The column name in the first line does not contain the specified column name ({0}). |
Correct the mapping rule. |
XCV0056 |
Failed to close the CSV file. |
This is an error state. Restart the application. |
XCV0057 |
Failed to read from the CSV file. |
Check the CSV file path and access authority. |
XCV0058 |
If the column name is not defined in the record on the first row of the CSV file, the colname attribute cannot be used in the mapping rules. |
Specify colno rather than colname. |
XCV0059 |
When the first row is not used as the column name, the default mapping rules cannot be used. |
If the default mapping rules are to be used, specify the first row as being column names. |
XCV0060 |
{0} cannot be used as a delimiter. |
Change the specified delimiter character. |
XCV0061 |
{0} cannot be used as a quotation mark. |
Change the specified quotation mark character. |
XCV0062 |
{0} cannot be used as a null string. |
Specify a character other than the null character. |
XCV0063 |
The number of data columns in the CSV file is not {0}. |
Match to the specified number of columns. |
XCV0064 |
Escaped data ({0}) exists. |
The data preceded by an escape sequence/character cannot be handled. Remove this data from the data to be converted. |
XCV0065 |
Data is not enclosed in quotation marks ({0}). |
Enclose each data item in the CSV file in quotation marks, or change the quotation mark specification. |
XCV0066 |
The method ({0}) is not supported. |
The specified method cannot be used because CSVResultSet does not support it. |
XCV0067 |
If the data itself includes quotation marks, they must be immediately preceded by "\\". |
Escape using the escape character "\". |
XCV0068 |
Specify a comma (,), an empty space ( ), or a tab (\t) for the delimiter character. |
Specify a comma (,), an empty space ( ), or a tab (\t). |
XCV0069 |
Specify a single quote (\') or the double quotes (\") for the quotation mark. |
Specify a single quote (\') or the double quotes (\"). |
XCV0070 |
The space character cannot be used as a null string. |
Specify a character other than a blank. |
XCV0071 |
The same character "{0}" cannot be specified as both a delimiter and a quotation mark. |
Specify a different character for each. |
XCV0072 |
The same character "{0}" cannot be specified as both a delimiter and a null string. |
Specify a different character for each. |
XCV0073 |
The same character "{0}" cannot be specified as both a quotation mark and a null string. |
Specify a different character for each. |
XCV0074 |
CSV file analysis failed. Row {0}. Detail: {1} |
Correct the CSV file as indicated in the details message. (*1) |
XCV0075 |
If the data itself includes quotation marks, they must be immediately preceded by a quotation mark. |
If the data includes a quotation mark character, enter two consecutive quotation mark characters. |
XCV0076 |
Column name ({2}) of columun number ({0}) is already defined in column number({1}). |
Set the first row of the CSV file such that column names are not duplicated. |
XCV0077 |
The ResultSetMetaData method ({0}) is not supported. |
The specified method cannot be used because it is not supported by CSVResultSet MetaData. |
XCV0111 |
The value of the attrname attribute in a mapping rule ({0}) is a empty string. |
Specify a character other than an empty string (""). |
XCV0120 |
The output destination is not specified. |
Specify the output destination filename. |
XCV0121 |
Failed to write to file. Detail: {0} |
Check that the file path exists and that it is possible to write to the file. |
XCV0122 |
Failed to write to stream: Detail: {0} |
An operating system disk or memory error may have occurred. Try restarting the operating system. |
XCV0123 |
Failed to output the XML document using SAX. Detail: {0} |
An operating system disk or memory error may have occurred. Try restarting the operating system. |
XCV0124 |
Failed to read from CSV file. Detail: {0} |
Check that the CSV file exists and that it is possible to read from the CSV file. |
XCV0125 |
Failed to read data from the CSV file. Row {0}, column {1} |
Check the CSV file column data that is indicated in the details information. (*1) |
XCV0126 |
Row {0} in the CSV file was left space characters. |
Delete rows containing only blanks from the CSV file. |
XCV0127 |
Failed to parse XML data in column that data type is "BINARY". Row {0}, column {1} |
Check whether or not the binary-type column data specified in the mapping rule is well-formed XML. (*1) |
*1) If an exception is caused by the data stored in a CSV file, the meanings of the row numbers in the posted error codes varies as described below.
For error code "XCV0125", if the first row is used for column names, the row number is one less than the row number in "For XCV0125" in the above figure.
For error code "XCV0127", the row number is the same as in "For XCV0125".
The table below lists the error messages posted by the XML processor if the XML conversion function is used.
Message |
Explanation |
---|---|
The version is required in the XML declaration. |
The version attribute is not specified in the XML declaration. Example: <?xml ?> |
a pseudo attribute name is expected. |
The XML declaration is incorrect. Example: <?xml > |
cvc-elt.1: Cannot find the declaration of element 'XXXXX'. |
Tag 'XXXXX' is not a mapping rule tag but is in the root tags. |
XML document structures must start and end within the same entity. |
A MappingRule tag is not closed. |
cvc-complex-type.2.4.a: Invalid content was found starting with element 'XXXXX'. One of '{"":parentRule, "":columnRule, "":attributeRule, "":documentRule, "":extensionRule}' is expected. |
An invalid tag is defined in the MappingRule tag elements. |
cvc-complex-type.3.2.2: Attribute 'YYY' is not allowed to appear in element 'XXX'. |
The invalid attribute 'YYY' is defined in the mapping rule 'XXX' tag. |
cvc-complex-type.4: Attribute 'YYY' must appear on element 'XXX'. |
Mandatory attribute 'YYY' is not in mapping rule 'XXX'. |
cvc-datatype-valid.1.2.1: 'XXX' is not a valid value for 'YYY' |
'XXX' is not a valid value for type element 'YYY'. |
cvc-enumeration-valid: Value 'no' is not facet-valid with respect to enumeration '[yes]'. It must be a value from the enumeration. |
An attribute value other than 'yes' is specified for the hide attribute of the columnRule tag. |
cvc-enumeration-valid: Value 'nop' is not facet-valid with respect to enumeration '[empty, omit]'. It must be a value from the enumeration. |
An attribute value other than 'empty' or 'omit' is specified for the null attribute of the columnRule tag. |
Contents
Index
![]() ![]() |