Hi Rumen,
in my schema ,
<xs:simpletype name="sessionIDType">
<xs:restriction base="xs:hexBinary">
<xs:maxlength value="8">
</xs:maxlength></xs:restriction>
</xs:simpletype>
and
<xs:element type="v2gci_t:sessionIDType" name="SessionID">
<ns3:sessionid>0000000000000000</ns3:sessionid>
then in my encode ,i set
static char SOME_BINARY_DATAt[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00};
TRY_CATCH_ENCODE(serialize.binaryData(&testStrm, SOME_BINARY_DATAt, 8));
but the result is error
GET_EXI_TYPE 0
Production type is not a binary</xs:element>
Error EXIP_INCONSISTENT_PROC_STATE:8 at ../../examples/simpleEncoding/encodeTestEXI.c, line 269
Error (code: 8) during encoding of:
wait your help
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could it be you do not use the correct schema when you encode?
Maybe the order of events is not following the grammar defined by the schema?
I am sorry but I cannot help you - this could be cause by many different things including bug in exip code.
// Rumen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-05-06
yes,the schema is error ,thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Rumen,
in my schema ,
<xs:simpletype name="sessionIDType">
<xs:restriction base="xs:hexBinary">
<xs:maxlength value="8">
</xs:maxlength></xs:restriction>
</xs:simpletype>
and
<xs:element type="v2gci_t:sessionIDType" name="SessionID">
<ns3:sessionid>0000000000000000</ns3:sessionid>
then in my encode ,i set
static char SOME_BINARY_DATAt[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00};
TRY_CATCH_ENCODE(serialize.binaryData(&testStrm, SOME_BINARY_DATAt, 8));
but the result is error
GET_EXI_TYPE 0
Production type is not a binary</xs:element>
wait your help
thanks
Hi,
Could it be you do not use the correct schema when you encode?
Maybe the order of events is not following the grammar defined by the schema?
I am sorry but I cannot help you - this could be cause by many different things including bug in exip code.
// Rumen
yes,the schema is error ,thanks