uCosminexus Service Platform, Basic Development Guide
If the required information has not been specified or settings contents or relation are not proper, you cannot successfully perform data transformation definition creation or data transformation, using the binary format definition file.
Therefore, validate whether the created binary format definition file has correct setting contents. You can validate the file at any time. Also, in case of input through dialog for setting each element, the entered value is automatically validated.
You can validate the settings contents of each element in binary format definition file.
Following table describes validation contents, the actions in case of error occurrence and the details on which validation contents are to be implemented in case of using which validation method.
Table 4-3 Validation contents of binary format definition file and actions in case of error or warning occurrence
Validation target | Validation contents | Action in case of error or warning occurrence | Validation method | |
---|---|---|---|---|
Auto | Optional | |||
Overall | Whether name is NCName type? | Specify format name and element name in NCName type. | Y | -- |
Format | Whether the complex contents elements of sequential configuration are set? | Set the complex contents element of sequential configuration. | -- | Y |
Whether the root element is set? | Set the complex contents element within binary format definition as the root element. | -- | Y | |
Whether code conversion library is available? (whether you can load the class?) | Set the jar file for code conversion properly and the restart Eclipse. | -- | Y | |
Whether complex contents element that defines a separator is used, when selecting KEIS, IBM_CODE, JEF as character code? | Change character code of format to other than KEIS, IBM_CODE. Or JEF, or cancel the specifications of separator of complex contents. | Y | -- | |
Whether simple contents element in which other than character type has been set in data type, when KEIS, IBM_CODE and JEF is selected as character code? | Set character code of format to other than KEIS, IBM_CODE and JEF or specify character string in the data type of simple contents element. | Y | -- | |
Whether bit value (hexadecimal) of pack format numeric value and zone format numeric value has been set with hexadecimal or the value has not been set? | Set the corresponding signed bit or character with hexadecimal. | Y | -- | |
Whether value of singed character (hexadecimal) of zone format numeric value has been set with hexadecimal or value has not been set? | Set the corresponding signed bit or character with hexadecimal. | Y | -- | |
Whether escape character is Latin character or 1 single byte space? | Set escape character in the range (0x21~0x7E) of Latin character. | Y | -- | |
Whether same character has been specified in escape character and separator value?# | Specify a character that is not duplicated in the escape character and separator value. | Y | -- | |
Simple contents element | Whether the elements having same name exist in the same hierarchy? | Specify unique name in the same hierarchy. | Y | -- |
Whether simple contents element of global definition have been set in the components of complex contents element? | Set the corresponding simple contents element in the component of the complex contents element. | Y | -- | |
Whether the value of specified size fulfills the following expression, when the size is fixed?0<Size=2,147,483,647 |
Specify the size in the range of 1~2,147,483,647. | Y | -- | |
Whether the value of specified size is odd number, when all the following conditions are fulfilled?
|
Specify other than UTF-16 (BE/LE) in the character code or specify odd number in the size of corresponding simple contents element. | Y | Y | |
Whether the byte size is 2 or more when all the following conditions are fulfilled?
|
Set the character code of format or individual character code to other than KEIS, IBM_CODE and JEF or specify value of 2 or greater in the size of corresponding simple contents | Y | Y | |
Whether the separator has not been set in ancestor when all the following conditions are fulfilled?
|
Cancel the specifications of separator for the simple contents or cancel the specifications of individual character code. | Y | Y | |
Whether the value of 0020~D7DE, E000~FFDC (case insensitive) has been set when all the following conditions are fulfilled?
|
Specify hexadecimal of 0020~D7DE, E000~FFDC. | Y | -- | |
Whether embedded character is other than "0" when all the following conditions are fulfilled
|
Set left or right justification to other than "Left" or specify other than "0" in embedded character. | Y | -- | |
Whether the specified integer fulfills following expression when the size is fixed?All digits count>Signed digits count |
In all digits count, specify value greater than signed digits count. | Y | -- | |
Whether specified integer fulfills the following expression when the size is fixed and all digits count is not specified?Size>Signed size |
In size, specify a value greater than sign byte size. | Y | Y | |
Whether the specified integer fulfills following expression, when the size is fixed and all digits count is specified?Size=Signed size + Integer part size |
In size, specify value greater than bytes size of all digits count. | Y | Y | |
Whether character code is other than KEIS, IBM_CODE and JEF, when all the following conditions are fulfilled?
|
Set character code of format to other than KEIS, IBM_CODE and JEF or specify character string of data type. | Y | -- | |
Whether the specified integer, real number or fixed fraction part numeric value fulfills the following expression?1=All digits count=34 |
Set the corresponding digits count in the numeric value within configurable range. | Y | -- | |
Whether the specified real number fulfills the following expression, when the size if fixed?Overall digits count=Signed digits count _ digits count of decimal point + digits count of fraction part And Overall digits count>Signed digits count |
In overall digits count, specify value greater than the number of digits acquired by combining signed digits count and decimal point as well as fraction part digits count. | Y | -- | |
Whether the specified real number or fixed fraction part numeric value fulfills the following conditions when the size is variable? Overall digits count=Fraction part digits count |
In overall digits count, specify value greater than the fraction part digits count. | Y | -- | |
Whether the specified real number fulfills the following expression, when size is fixed part and overall digits count and fraction part digits count are not specified? Size>Signed size |
In size, specify value greater than the signed byte size. | Y | Y | |
Whether the specified real number fulfills the following expression, when size is fixed, overall digits count is not specified and fraction part digits count is specified? Size=Signed size + decimal point size + fraction part size And Size>Signed size |
In size, specify a value greater than byte size acquired by combining the signs and decimal point and fraction part. | Y | Y | |
Whether the specified real number fulfills the following expression when size is fixed and overall digits count is specified? Size=Signed size+integer size=decimal point size+fraction part size |
In size, specify value greater than the bytes size of overall digits count. | Y | Y | |
Whether the specified fraction part numeric value fulfills the following expression, when the size is fixed? Overall digits count=Signed digits count+fraction part digits count and Overall digits count>Signed digits count |
In overall digits count, specify value greater than the digits count having combination of sign and fraction part. | Y | -- | |
Whether the specified fixed fraction part numeric value fulfills the following expression, when size is fixed and overall digits count is not specified? Size=Signed size+fraction part size and size>signed size |
In size, specify a value greater than bytes size acquired by combining the sign and fraction part digits count. | Y | Y | |
Whether the specified fixed fraction part numeric value fulfills the following expression, when the size is fixed and overall digits count is specified? Size=Signed size+integer part size+fraction part size |
In size, specify a value greater than bytes size of overall digits count. | Y | Y | |
Whether the specified fraction part digits count fulfill the following expression, when the data type is real number, fixed decimal point numeric value, zone format numeric value, or lack format numeric value?0=fraction part digits count=33 |
Specify fraction part digits count in the range of 0~33. | Y | -- | |
Whether "Separator format" is "user specified", when separator is set in the ancestor on the following simple contents element?
|
Specify data type other than zone format numeric value, pack format numeric value, signed binary integer, unsigned binary integer or bytes string. Or, change the format of separator for the simple contents, to user specified format. | Y | Y | |
Whether the "fraction part digits count=maximum fraction part digits count acquired from the specified size" is set when the all the following conditions are fulfilled?
|
In size, specify value greater than the bytes count of fraction part digits count. | Y | Y | |
Whether the specified size fulfills the following expression, when the data type is signed binary integer or unsigned binary integer? 1=size=8 |
Set the corresponding digits count with the numeric value in the configurable range. | Y | -- | |
Whether the specified size fulfills the following expression, when the data type is bits string? 1=size=64 |
Specify size in the range of 1~64. | Y | -- | |
Whether the complex contents element for which separator is defined exist in the binary format definition, when data type is bits string? | Specify other than bits string in the data type or cancel the specification of separator. | Y | -- | |
Whether the specified fraction part digits count fulfill the following expression, when the data type is date and time type and second fraction part digits count is specified?0=Seconds fraction part digits count=3 |
Set the seconds fraction part digits count in the range of 0~3. | Y | -- | |
Whether the specified size fulfills the following expression when the data type is date and time type and size is fixed?Size=format size+decimal point size+seconds fraction part digits count |
In size, specify value greater than the bytes count of date and time format. | Y | Y | |
Whether "fraction part digits count=maximum fraction part digits count acquired from specified size" is set when all the following conditions are fulfilled?
|
In size, specify value greater than bytes count of fraction part digits count. | Y | Y | |
Whether "maximum fraction part digits count of specified size=Fraction part digits count_sign character" is set when all the following conditions are fulfilled? And whether the size is 2 bytes or more?
|
In size, specify value greater than bytes count of fraction part digits count+bytes count of sign character and value having 2 bytes or more. | Y | Y | |
Complex contents element | Whether the elements having same name exist in the same hierarchy? | Specify unique name in the same hierarchy. | Y | -- |
Whether complex contents element set in the root element has been set as the component of other complex contents element? | Delete the complex contents element set in the root element, from the component of the complex contents element. | -- | Y | |
Whether the complex contents element has been set in the components of other complex contents element (excluding the cases of root element)? | Set the corresponding complex contents element to the component of other complex contents element. | -- | Y | |
Whether the component has been set? | Set the component in corresponding complex contents element. | -- | Y | |
Whether following simple contents elements exist, when "CSV" is specified in the separator format?
|
Change the separator format to user-specified format or specify the data type other than zone format numeric value, pack format numeric value, singed binary integer, unsigned binary integer and bytes string in the simple contents element | Y | Y | |
Whether the specification of start separator is correct | Specify the correct separator in the start separator | -- | Y | |
Whether the specification of intermediate delimitation separator is correct | Specify correct separator in the intermediate delimitation separator | -- | Y | |
Whether the specification of end separator is correct | Specify the correct separator in end separator. | -- | Y | |
Whether the character code of format is KEIS, IBM_CODE and JEF, when the separator is specified | Cancel the specification of complex contents separator or specify character code of format to other than KEIS, IBM_CODE and, JEF | Y | -- | |
Whether the simple contents element in which individual character code is specified exists when the separator is specified | Cancel the specification of individual character code of simple contents or cancel the specification of the separator of complex contents | Y | Y | |
Whether the separator name is duplicated | Specify separator that is not specified in other separators, within single complex contents | Y | -- | |
Whether separator value is duplicated | Specify separator value that does not duplicate with other separator values, in single complex contents | Y | -- | |
Whether the code conversion library is valid when the separator is specified | Set the correct jar file of code conversion and re-start Eclipse. | -- | Y | |
Whether code conversion table for code conversion and validation target character code exists, when the separator is specified | Specify path of code conversion table, in the code conversion table. | -- | Y | |
Whether error occurs during the character code conversion, when the separator is specified | See the exception information that is cause of error and take actions accordingly. | -- | Y | |
Whether character code conversion fails when the separator is specified | See the error code and take actions accordingly | -- | Y | |
Whether the character code is supported by code conversion library, when the separator is specified | Select character code that is supported by the code conversion library. Or, use the supported code conversion library. |
-- | Y | |
Whether the simple contents element of bit string type exists in binary format definition, when the separator is specified | Cancel the specification of separator or specify other than bit string in the data type of simple contents element | Y | -- | |
Whether the complex contents element in which size node is specified exists in the binary format definition, when separator is specified | Cancel the specification of separator or delete the size node | Y | -- | |
In sequential configuration, when last child element is simple contents element of bit string type, does it correspond to the following conditions (excluding the case of root element)
|
Check the size of child element of bits string type. Calculate the size of element of bits string type as follows: When occurrence count is fixed, "size x maximum occurrence count". When occurrence count is not fixed, calculate as follows:
|
-- | Y | |
In selected configuration, when child element is the simple contents element of bits string type, does it correspond to following condition (excluding the case of root element)
|
Check the size of child element of bits string type. Calculate the size of element of bits string type as follows: When occurrence count is fixed, "size x maximum occurrence count". When occurrence count is not fixed, calculate as follows:
|
-- | Y | |
Whether the selected condition node has been set in case of selected configuration | Set the selected condition node in corresponding complex contents element | -- | Y | |
Whether the element set in the selection condition node is simple contents element, in case of selected configuration | Set node of the simple contents element of selected condition node | Y | Y | |
Whether selection condition value is set in case of selected configuration (however, selection condition value might not be set in case of only 1 selected configuration) | Set the selection condition value in each component and set the count of components for which selection condition value is not set, to 1 or less | -- | Y | |
Whether value specified in the data type of the simple contents element set in the selection condition node matches with value specified in selection condition value of each component, in case of selected configuration | Validation contents and actions differ depending on the data type of simple contents element set in the selection condition node. For details, see "Table4-4 Validation contents and actions related to the value specified in selection condition value". | Y | Y | |
Whether selection condition value of each component is duplicated in case of selected configuration | In component for which selection condition value is duplicated, specify a selection condition value that is not specified in other components | -- | Y | |
Whether occurrence count of selection condition node and all ancestor nodes is fixed as 1 time, in case of selected configuration | Set the occurrence count of selection condition node and its ancestor node to the fixed count that is 1 time | -- | Y | |
Whether the size of selection condition node is fixed, in case of selected configuration | Set the size of selection condition node as fixed | -- | Y | |
Whether the path of selection condition node is correct, in case of selected configuration | Path that shows selection condition node, might be invalid. For details on action, see "Table4-5 Cause and actions when the path is invalid" | Y | Y | |
Whether the complex contents element of selected configuration are included in the path of selection condition node, in case of selected configuration (however, when the path is absolute path, exclude the ancestor node of the setting source node) | Selection condition node may not occur in the actual binary data. Check whether the corresponding data occur in the selection condition node, in actual binary data. | -- | Y | |
Whether the node specified in selection condition node includes the complex contents element specified in size node, in case of selected configuration (when the path is absolute path, exclude the node that is ancestor of the setting source node. When the path is standard path, exclude the standard node) | Sometimes, selection condition node might not occur in the actual binary data. Check whether the corresponding data occurs in the selection condition node, in actual binary data. | -- | Y | |
Whether code conversion library is used in case of selected component (whether the class can be loaded) | Set the correct jar file of code conversion and restart Eclipse. | Y | -- | |
Whether the correct path of the code conversion table is set, in case of selected configuration | Set the occurrence count of corresponding selected configuration and its ancestor as 1, which is a fixed value | Y | Y | |
Whether error occurs during character code conversion, in case of selected configuration | See the exception information that is cause of error occurrence and take actions accordingly. | Y | Y | |
Whether character code conversion fails, in case of selected configuration | See the error code and take actions accordingly. | Y | Y | |
Whether character code is reported in the code conversion library, in case of selected configuration | Select the character code supported in the code conversion library. Or, use the supported code conversion library. |
Y | Y | |
Whether simple contents element count set in the component is 1 or less, when the start separator of component is set in case of selected configuration | Set the simple contents element to be set in component to l or less | -- | Y | |
Whether the start separator is set in each component (complex contents element) in case of selected configuration (however, when simple contents element has not been set in the component, you may not set start separator if the component is only 1) | When simple contents element is set in the component, set start separator in each component. If the simple contents element has not been set in the component, set the count of components for which start separator has not been set, to 1 or less. | -- | Y | |
Whether the value of start separator set in each component is duplicated, in case of selected configuration | Set the value of start separator that has not been set in other components, in the component for which start separator is duplicated. | -- | Y | |
Component | Whether the specified occurrence count fulfills following expression, when the occurrence count is fixed0<Occurrence count=2,147,483,647 |
Specify the occurrence count in the range of 1~2,147,483,647. | Y | -- |
Whether the occurrence count node is set, when the occurrence count is "Occurrence count node" | Set the occurrence count node in the corresponding component | -- | Y | |
Whether data type of occurrence count node is numeric value type, when the occurrence count is "Occurrence count node"(Numeric value type implies integer, real number, fixed fraction part numeric value, zone format numeric value, pack format numeric value, signed integer, or unsigned integer) | In occurrence count node, specify simple contents element having data type as numeric value type. | Y | Y | |
Whether occurrence count of occurrence count node and its all ancestors is fixed and that is 1, when the occurrence count is "Occurrence count node" | Set the occurrence count of occurrence count node and its ancestor nodes to a fixed value, that is 1 | -- | Y | |
Whether path of the occurrence count node is correct, when the occurrence count is "Occurrence count node" | Path that shows occurrence count node might not be correct. For details on actions, see "Table4-5 Cause and actions when the path is invalid" | Y | Y | |
Whether complex contents element of selected configuration is included in the path of occurrence count node, when the occurrence count is "occurrence count node" (however, exclude the ancestor node of setting source node, when the path is absolute path) | Occurrence count data might not occur in actual binary data. Check whether the data corresponding to occurrence count node occurs in the actual binary data | -- | Y | |
Whether the node specified in occurrence count node includes the complex contents element specified in size node, when the component is simple contents element (exclude the node that is ancestor node of the setting source node, when the path is absolute path. Exclude standard node when the path is standard path) | Selection condition node may not occur in the actual binary data. Check whether corresponding data occurs in the selection condition node, in the actual binary data. | -- | Y | |
Whether the recursive structure is set | Delete the recursively set components. | Y | -- | |
Whether all the following conditions are fulfilled when parent element is sequential configuration
|
Check the size of sibling element of bit string type. Calculate the size of element of bits string type as follows: When occurrence count is fixed, "size x maximum occurrence count". When occurrence count is not fixed, calculate as follows:
|
-- | ? | |
Whether all the following conditions are fulfilled when the component is simple contents element and data type is "bit string"
|
Change the occurrence count of simple contents element to "fixed" or "occurrence count node" or specify value of 8 bit or more in the size. | -- | Y | |
Whether size node is set when the component is simple contents element and size is "size node" | Set the size node in the corresponding component | -- | Y | |
Whether the data type of size node is numeric value type, when the component is simple contents element and size is "size node" (numeric value type implies integer, real number, fixed fraction part numeric value, zone format numeric value, pack format numeric value, singed binary integer or unsigned binary integer) | In size node, set the simple contents component having data type as numeric value type. | Y | Y | |
Whether occurrence count of size node and all the ancestor nodes is fixed, that is 1, when the component is simple contents element and size is "size node" | Set the occurrence count of size node and its ancestor node to fixed value, which is 1. | Y | Y | |
Whether the path of size node is correct when the component is simple contents element and size is "size node" | Path that shows the size node might be invalid. For details on actions, see "Table4-5 Cause and actions when the path is invalid". | Y | Y | |
Whether path of size node includes complex contents element of selected configuration, when the component is simple contents element and size is "size node" (however, when the path is absolute path, exclude the ancestor node of setting source node) | Size node may not occur in the actual binary data. Check whether the data corresponding to size node exists in the actual binary data. | -- | Y | |
Whether the node specified in size node includes the complex contents element specified in size node when component is simple contents element (exclude the node that is ancestor node of the setting source node, when the path is absolute path. Exclude standard node when the path is standard path) | Size node may not occur in the actual binary data. Check whether the data corresponding to size node exists in the actual binary data. | -- | Y | |
Whether the separator or size node that shows the end of occurrence is set, when the component is simple contents element and occurrence count is "till end of the data" | Specify separator that shows end of occurrence or size node of the complex contents element, in the element having occurrence count as variable. | Y | Y | |
Whether the separator or size node that shows the end of data is set, when the component is simple contents element and size is "till end of the data" | Specify separator that shows end of data or size node of the complex contents element, in the element having size as variable. | Y | Y | |
Whether the separator or size node that shows the end of occurrence is set, when the component is complex contents element and occurrence count is "till end of the data" | Specify separator that shows end of occurrence or size node of the complex contents element, in the element having occurrence count as variable. | Y | Y | |
Whether all the following conditions are fulfilled when the component is complex contents element and occurrence count is "Till end of data" or "range-specified".
|
Change the occurrence count of complex contents element to "fixed" or "occurrence count node" or define such that size of complex contents element becomes 8 bits or more. Calculate the size of each element as follows:
|
-- | Y | |
Whether total size of bit string is in byte unit when the component is complex contents element, size node is set and bit string exists in grandchild node | Check the size of simple contents element of bit string | -- | Y | |
Whether complex contents element in which separator is defined exists in the binary format definition, when component is complex contents element and size node is set | Delete the specification of size node or cancel the specification of separator. | Y | -- | |
Whether data type of the size node is numeric value type when component is complex contents element (numeric value type implies integer, real number, fixed fraction part numeric value, zone format numeric value, pack format numeric value, singed binary integer and unsigned binary integer) | In size node, specify simple contents of numeric value type | Y | Y | |
Whether size node and all its occurrence count is fixed, that is 1 time, when component is complex contents element | Define such that the node has occurrence count fixed as 1 time, for size node and its ancestor node. | Y | Y | |
Whether the path of size node is correct when the component is complex contents element | Path specified in size node may get discarded. Specify the side node again, with reference to detail information. |
Y | Y | |
Whether the path of size node has complex contents element of selected configuration, when component is complex contents element | Size node may not occur in the actual binary data. Check that the corresponding data occur in the size node, in actual binary data. | -- | Y | |
Whether the node specified in size node include the complex contents element included in size node, when component is complex contents element (when the path is absolute path, exclude the node that is ancestor of the setting source node. When path is standard path, exclude the standard node). | Size node may not occur in the actual binary data. Check that the corresponding data occur in the size node, in actual binary data. | -- | Y |
Table 4-4 Validation contents and actions related to the value specified in selection condition value
Data type | Validation contents | Action |
---|---|---|
Character string | Whether following expression is fulfilled when "Replace with substitute character" is not specified#1Size after character code conversion=Specified size |
Specify such that byte size of selection condition value becomes less than the size of selection condition node. |
Integer | Whether the format of specified character string is n#2#3 | In selection condition value, specify character string matching to the data type of selection condition node. |
Whether the following expression is fulfilledSize after character code conversion=Specified size |
Specify such that byte size of selection condition value is less than the size of selection condition node. | |
Whether it is 0=value, when the existence of sign is "No" | Specify a positive value in selection condition value. | |
Whether digits count of condition value is less than the specified digits count of "Overall digits count", when the "overall digits count" is specified | Specify the digits count of selection condition value as less than overall digits count. | |
Whether the digits count of condition value is 34 digits or less, when "Overall digits count" is not specified | In selection condition value, specify numeric value having 34 or less digits, in the valid digits count. | |
Real number | Whether the format of specified character string is n or n.m#2#3 | In selection condition value, specify the character string matching with data type of selection condition node. |
Whether the following expression is fulfilled#1#4Size after character code conversion=Specified size |
Specify the bytes size of selection condition value such that it is smaller than the size of selection condition node. | |
Whether it is 0=value, when the existence of sign is "No" | Specify positive value in the selection condition value. | |
Whether the fraction part digits count of condition value is less than specified digits count of "Fraction part digit count", when the "Fraction part digits count" has been specified | Specify the digits count in fraction part of selection condition value to the count less than fraction part digits count. | |
Whether digits count of condition value is less than specified digits count of "overall digits count", when "overall digits count" has been specified#4 | Specify the digits count of input value of the selection condition value to count less than overall digits count. | |
Whether the digits count of condition value is 34 digits or less, when "overall digits count" has not been specified | Specify numeric value having less than 34 digits as valid digits count, in selection condition value | |
Fixed fraction part numeric value | Whether the format of specified character string is n or n.m#2#3 | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the following expression is fulfilled#1Size after converting to encrypted numeric value with decimal point=Specified size |
Specify such that byte size of selection condition value is less than the size of selection condition node | |
Whether it is 0=value, when the existence of sign is "No" | Specify positive value in the selection condition value. | |
Whether the fraction part digits are less than specification of "Fraction part digits count | Specify the fraction part digits count of selection condition value to less than fraction part digits count | |
Whether the digits count of condition value after converting to encrypted numeric value with decimal point is less than specified digits count of "overall digits count", when the "overall digits count" has been specified | Specify digits count of input value of selection condition value to count less than overall digits count. | |
Whether digits count of condition value is 34 digits or less, when "overall digits count" has not been specified | In selection condition value, specify a numeric value having 34 digits or less as valid digit count | |
Zone format numeric value | Whether the format of specified character string is n or n.m #2 | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the following expression is fulfilledSize after converting to zone format=Specified size |
Specify such that byte size of selection condition value is less than the size of selection condition node | |
Whether digits in integer part+digits in fraction part are real number having 34 digits or less | Specify numeric value having less than 34 digits as valid digits count, in selection condition value | |
Whether the fraction part digits are within the range specified in "fraction part digits count" | Specify digits count of fraction part of selection condition value, as the digits less than fraction digits count | |
Whether negative value is set in the condition value, when the settings of sign of simple contents element is "custom" and existence of sign is "does not exist" | Specify positive value in the selection condition value | |
Pack format numeric value | Whether the format of specified character string is n or n.m #2 | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the following expression is fulfilledSize after converting to pack format=Specified size |
Specify such that byte size of selection condition value is less than the size of selection condition node | |
Whether digits in integer part+digits in fraction part are real number having 34 digits or less | Specify numeric value having less than 34 digits as valid digits count, in selection condition value | |
Whether the fraction part digits are in the range specified in "fraction part digits count" | Specify digits count of fraction part of selection condition value to count less than fraction part digits count. | |
Whether negative value is set in the condition value, when the settings of sign of simple contents element is "custom" and existence of sign is "does not exist" | Specify positive value in selection condition value | |
Signed binary integer | Whether the format of specified character string is n or -n#2 | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the integer fulfills following expression when the size is n bytes (n=1~8) -1x2(8 x n)-1=Value=2(8 x n)-1-1 |
Specify valid value in the selection condition value. | |
Unsigned binary integer | Whether the format of specified character string is n#2 | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the integer fulfills following expression when the size is n bytes (n=1~8) 0<=Value<=28 x n-1 |
Specify valid value in the selection condition value. | |
Bytes string | Whether the format of specified character string is 0~9, a~f and A~F, when the code format is hexBinary Whether the format of specified character string is 0~9, a~z, A~Z, -, , =, or blank character, when encode format is base64Binary |
In selection condition value, specify character string matching with data type of selection condition node. |
Whether following expression is fulfilledSize after converting to bytes=specified size |
Specify such that byte size of condition value is same as the byte size of selection condition node. | |
Bit string | Whether the format of specified character string is 0~9, a~f and A~F | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the following expression is fulfilled A=(<specified size>+7)/8(round up of digits after decimal point) A x 2=input character count |
Specify required digits count. | |
Date and time | Whether the specified character string format is CCYYMMDD, when the format is CCYYMMDD | In selection condition value, specify character string matching with data type of selection condition node. |
Whether the specified character string format is YYMMDD, when the format is YYMMDD | In selection condition value, specify character string matching with data type of selection condition node. | |
Whether the specified character string format is hhmmss, when the format is hhmmss | In selection condition value, specify character string matching with data type of selection condition node. | |
Whether the specified character string format is CCYYMMDDhhmmss, when the format is CCYYMMDDhhmmss | In selection condition value, specify character string matching with data type of selection condition node. | |
Whether the specified character string format is YYMMDDhhmmss, when the format is YYMMDDhhmmss | In selection condition value, specify character string matching with data type of selection condition node. | |
Whether the specification of seconds decimal point match with the digits count of second decimal point | In selection condition value, specify character string matching with data type of selection condition node. | |
Whether the specified date and time is correct date and time | Specify correct date and time in the selection condition value |
Table 4-5 Cause and actions when the path is invalid
Cause for invalid path | Action |
---|---|
Node of the path specified in selection condition, occurrence count or size node has been deleted from the definition | Specify the selection condition, occurrence count or size node again. |
Hierarchy structure was changed after specifying the selection condition, occurrence count or size node | Specify the selection condition, occurrence count or size node again. |
Path specified in selection condition, occurrence count or size node occurs after element of setting condition. | Specify element that occurs before setting destination, in the selection condition, occurrence count or size node. |
Multiple components that reference the node of node path settings destination are defined | Set the component that references the node path setting destination to 1. |
Topmost element of absolute path is not the root element | Set the root element to topmost element of absolute path, or reset the path. |
Standard node does not exist in ancestor on the setting source node | Reset the node path. |
Standard node of standard path is not the element of sequential configuration | Set the path such that standard node is sequential configuration. |
Common parent of path and setting source node is complex contents of selection configuration | Set the common parent of path and setting source node to complex contents of sequential configuration. |
Following 2 validation methods exist. Contents to be validated differ depending on the validation method. For details, see "(1) Validation contents".
For details on display of validation result, see " (3) Displaying the validation results".
The validation results are displayed in a window and in a dialog box.
Auto validation result at the time of dialog input is displayed in the [Information] of the dialog related to the binary format definition. If there is no problem, nothing is displayed.
For details on the dialog related to a binary format definition, see "1.2.1 Binary Format Definition Window" in "Service Platform Reference Guide".
Validation result is displayed on the screen.
For screen display contents, see the following locations.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.