Lines Matching full:mainschema
571 xmlSchemaPtr mainSchema; /* The main schema. */
3531 xmlSchemaPtr mainSchema;
3533 if (WXS_CONSTRUCTOR(pctxt)->mainSchema == NULL) {
3538 mainSchema = WXS_CONSTRUCTOR(pctxt)->mainSchema;
3580 WXS_IMPBUCKET(ret)->schema = mainSchema;
3584 mainSchema->targetNamespace = targetNamespace;
3611 if (mainSchema->schemasImports == NULL) {
3612 mainSchema->schemasImports = xmlHashCreateDict(5,
3614 if (mainSchema->schemasImports == NULL) {
3620 res = xmlHashAddEntry(mainSchema->schemasImports,
3623 res = xmlHashAddEntry(mainSchema->schemasImports,
3641 if (mainSchema->includes == NULL) {
3642 mainSchema->includes = xmlSchemaItemListCreate();
3643 if (mainSchema->includes == NULL) {
3648 xmlSchemaItemListAdd(mainSchema->includes, ret);
21197 xmlSchemaPtr mainSchema = NULL;
21217 mainSchema = xmlSchemaNewSchema(ctxt);
21218 if (mainSchema == NULL)
21230 ctxt->constructor->mainSchema = mainSchema;
21257 if (xmlSchemaParseNewDocWithContext(ctxt, mainSchema, bucket) == -1)
21262 mainSchema->doc = bucket->doc;
21263 mainSchema->preserve = ctxt->preserve;
21265 ctxt->schema = mainSchema;
21276 if (mainSchema) {
21277 xmlSchemaFree(mainSchema);
21278 mainSchema = NULL;
21287 return(mainSchema);
21293 if (mainSchema) {
21294 xmlSchemaFree(mainSchema);
21295 mainSchema = NULL;
27916 pctxt->constructor->mainSchema = vctxt->schema;