|
exip
Alpha 0.5.4
|
Implementation of functions for converting a TreeTable structure containing the schema definitions to EXIPGrammar object. More...
#include "treeTableSchema.h"#include "stringManipulate.h"#include "genUtils.h"#include "memManagement.h"#include "initSchemaInstance.h"#include "grammars.h"Go to the source code of this file.
Data Structures | |
| struct | GlobalElemQNameTable |
| struct | buildContext |
| Context/State data used to generate EXIPSchema grammars from a source TreeTable (schema tree). More... | |
| struct | localAttrNames |
| Used for the attribute grammar generation. More... | |
| struct | subsGroupElTbl |
| A structure used during substitution group processing. More... | |
Macros | |
| #define | DEFAULT_GLOBAL_QNAME_COUNT 200 |
Typedefs | |
| typedef struct GlobalElemQNameTable | GlobalElemQNameTable |
| typedef struct buildContext | BuildContext |
Functions | |
| errorCode | convertTreeTablesToExipSchema (TreeTable *treeT, unsigned int count, EXIPSchema *schema, SubstituteTable *subsTbl) |
| Given types resolved TreeTable objects that are created from a XML schema files, builds the EXIP grammars in the EXIPSchema object. More... | |
Definition in file treeTableToGrammars.c.
| #define DEFAULT_GLOBAL_QNAME_COUNT 200 |
Definition at line 25 of file treeTableToGrammars.c.
| typedef struct buildContext BuildContext |
Definition at line 61 of file treeTableToGrammars.c.
| typedef struct GlobalElemQNameTable GlobalElemQNameTable |
Definition at line 43 of file treeTableToGrammars.c.
| errorCode convertTreeTablesToExipSchema | ( | TreeTable * | treeT, |
| unsigned int | count, | ||
| EXIPSchema * | schema, | ||
| SubstituteTable * | subsTbl | ||
| ) |
| [in] | treeT | an array of tree table objects |
| [in] | count | the number of tree table objects |
| [out] | schema | schema information used for processing EXI streams in schema mode |
| [in] | subsTbl | In case of substitutionGroups in the schema maps the heads of the substitutionGroups to their members |
For every tree table
For every global entry in the tree table
Definition at line 294 of file treeTableToGrammars.c.
1.8.4