18 #include "stringManipulate.h"
23 #define DEF_DOC_GRAMMAR_RULE_NUMBER 2 // first rule is excluded
24 #define DEF_FRAG_GRAMMAR_RULE_NUMBER 1 // first rule is excluded
25 #define DEF_ELEMENT_GRAMMAR_RULE_NUMBER 2
49 if(elQnameArr !=
NULL)
55 tmp_code1 = qnameCount + 1;
70 for(e = 0; e < qnameCount; e++)
77 tmp_rule->
pCount = tmp_code1;
125 #if BUILD_IN_GRAMMARS_USE
131 elementGrammar->
props = 0;
231 if((*gStack) !=
NULL)
258 if(elQnameArr !=
NULL)
264 tmp_code1 = qnameCount + 2;
280 for(e = 0; e < qnameCount; e++)
287 tmp_rule->
pCount = tmp_code1;
322 boolean secondLevelExists =
FALSE;
328 secondLevelExists =
TRUE;
334 secondLevelExists =
TRUE;
336 secondLevelExists =
TRUE;
342 secondLevelExists =
TRUE;
353 secondLevelExists =
TRUE;
359 secondLevelExists =
TRUE;
368 static void writeValueTypeString(
EXIType exiType)
437 for(j = 0; j < rule->
pCount; j++)
477 writeValueTypeString(exiType);
485 writeValueTypeString(exiType);
489 writeValueTypeString(exiType);
524 if (localName !=
NULL)