diff --git a/.cproject b/.cproject
index 8016ed5..53b5c77 100644
--- a/.cproject
+++ b/.cproject
@@ -600,9 +600,11 @@
+
+
diff --git a/src/codec/EXIDecoder.c b/src/codec/EXIDecoder.c
index a52ccf9..529f711 100644
--- a/src/codec/EXIDecoder.c
+++ b/src/codec/EXIDecoder.c
@@ -109,32 +109,6 @@ static int _decodeListValues(bitstream_t* stream, exi_datatype_t dt, uint16_t le
return 0;
}
-static int _decodeListIntegerValues(bitstream_t* stream, exi_integer_type_t dt, uint16_t len) {
- unsigned int i;
-
- integer_t iv;
-
- for(i = 0; igrammarStack[ state->stackIndex ];
-
- switch(grammarID) {
- case DOCUMENT:
- switch(eventType) {
- case START_DOCUMENT:
- *resGrammarID = 0;
- return 0;
- default:
- return 1; /* not found */
- }
- break;
- case DOC_CONTENT:
- switch(eventType) {
- /* TODO other IDs */
- case START_ELEMENT_GENERIC:
- *resGrammarID = 0;
- return 0;
- default:
- return 1; /* not found */
- }
- break;
- case DOC_END:
- switch(eventType) {
- case END_DOCUMENT:
- *resGrammarID = 0;
- return 0;
- default:
- return 1; /* not found */
- }
- break;
- case UR_TYPE_GRAMMAR_0:
- switch(eventType) {
- case ATTRIBUTE_GENERIC:
- *resGrammarID = 0;
- return 0;
- case START_ELEMENT_GENERIC:
- *resGrammarID = 1;
- return 0;
- case END_ELEMENT:
- *resGrammarID = 2;
- return 0;
- case CHARACTERS_GENERIC:
- *resGrammarID = 3;
- return 0;
- default:
- return 1; /* not found */
- }
- break;
- case UR_TYPE_GRAMMAR_1:
- switch(eventType) {
- case START_ELEMENT_GENERIC:
- *resGrammarID = 0;
- return 0;
- case END_ELEMENT:
- *resGrammarID = 1;
- return 0;
- case CHARACTERS_GENERIC:
- *resGrammarID = 2;
- return 0;
- default:
- return 1; /* not found */
- }
- break;
- }
-
- return 1; /* not found */
-}
-
-
-static int _exiGetEventCodeLength(exi_state_t* state, uint16_t* eventCodeLength) {
- /* retrieve current grammar-rule ID */
- uint16_t grammarID = state->grammarStack[ state->stackIndex ];
-
- switch(grammarID) {
- /* TODO OTHER IDs */
- case DOCUMENT:
- *eventCodeLength = 0;
- return 0;
- case DOC_CONTENT:
- /* TODO other root elements */
- *eventCodeLength = IS_STRICT ? 0 : 1;
- return 0;
- case DOC_END:
- *eventCodeLength = IS_STRICT ? 0 : 1;
- return 0;
- case UR_TYPE_GRAMMAR_0:
- *eventCodeLength = IS_STRICT ? 4 : 5;
- return 0;
- case UR_TYPE_GRAMMAR_1:
- *eventCodeLength = IS_STRICT ? 3 : 4;
- return 0;
- }
-
- return EXI_ERROR_UNEXPECTED_GRAMMAR_ID;
-}
-
static int _encodeNBitIntegerValue(bitstream_t* stream, integer_t* iv, uint16_t nbits, int32_t lowerBound) {
int errn;
uint32_t val;