SchemaFormat Property
The format of the schema file.
Syntax
ANSI (Cross Platform) int GetSchemaFormat();
int SetSchemaFormat(int iSchemaFormat); Unicode (Windows) INT GetSchemaFormat();
INT SetSchemaFormat(INT iSchemaFormat);
Possible Values
SCHEMA_AUTOMATIC(0),
SCHEMA_BINARY(1),
SCHEMA_BIZ_TALK(2),
SCHEMA_SEF(3),
SCHEMA_BOTS(4),
SCHEMA_ALTOVA(5),
SCHEMA_JSON(6)
@property (nonatomic,readwrite,assign,getter=schemaFormat,setter=setSchemaFormat:) int schemaFormat; - (int)schemaFormat; - (void)setSchemaFormat:(int)newSchemaFormat;
Possible Values
SCHEMA_AUTOMATIC(0),
SCHEMA_BINARY(1),
SCHEMA_BIZ_TALK(2),
SCHEMA_SEF(3),
SCHEMA_BOTS(4),
SCHEMA_ALTOVA(5),
SCHEMA_JSON(6)
#define PID_X12VALIDATOR_SCHEMAFORMAT 4 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_X12Validator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_X12Validator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Set SchemaFormat before calling the LoadSchema method to specify the loading schema format.
The following schema formats are supported:
0 (schemaAutomatic - default) | The schema type is automatically determined based on file extension. |
1 (schemaBinary) | A binary schema that was previously compiled by calling CompileSchema. |
2 (schemaBizTalk) | BizTalk (XSD): http://msdn.microsoft.com/en-us/library/aa559426(v=BTS.70).aspx |
3 (schemaSEF) | TIBCO Standard Exchange Format (SEF): https://docs.tibco.com/products/tibco-foresight-edisim-6-18-0 |
5 (schemaAltova) | Altova: http://www.altova.com/ |
6 (schemaJSON - recommended) | ArcESB JSON: https://arc.cdata.com/ |
Data Type
Integer