Home | History | Annotate | Download | only in libxml2

Lines Matching refs:decl

521     * The attr. decl. OR a QName-ref. to an attr. decl. OR
685 xmlSchemaTreeItemPtr children; /* first particle (OR "element decl" OR "wildcard") */
894 xmlSchemaElementPtr decl; /* the element/attribute declaration */
949 xmlSchemaAttributePtr decl; /* the attribute declaration */
1655 *buf = xmlStrdup(BAD_CAST "attribute decl.");
1670 *buf = xmlStrdup(BAD_CAST "element decl.");
4742 fprintf(stderr, "Unable to lookup element decl. %s", name);
4744 fprintf(stderr, "Unable to lookup element decl. %s:%s", name,
7423 * TODO: Should this go into the attr decl?
8438 xmlSchemaElementPtr decl = NULL;
8599 decl = xmlSchemaAddElement(ctxt, name, ns, node, topLevel);
8600 if (decl == NULL) {
8647 decl->flags |= XML_SCHEMAS_ELEM_GLOBAL;
8648 decl->flags |= XML_SCHEMAS_ELEM_TOPLEVEL;
8651 &(decl->substGroupNs), &(decl->substGroup));
8653 decl->flags |= XML_SCHEMAS_ELEM_ABSTRACT;
8660 decl->flags |= XML_SCHEMAS_ELEM_FINAL_EXTENSION;
8662 decl->flags |= XML_SCHEMAS_ELEM_FINAL_RESTRICTION;
8665 if (xmlSchemaPValAttrBlockFinal(attrValue, &(decl->flags),
8686 decl->flags |= XML_SCHEMAS_ELEM_BLOCK_RESTRICTION;
8688 decl->flags |= XML_SCHEMAS_ELEM_BLOCK_EXTENSION;
8690 decl->flags |= XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION;
8693 if (xmlSchemaPValAttrBlockFinal(attrValue, &(decl->flags),
8707 decl->flags |= XML_SCHEMAS_ELEM_NILLABLE;
8713 &(decl->namedTypeNs), &(decl->namedType));
8715 attr, decl->namedTypeNs);
8717 decl->value = xmlSchemaGetProp(ctxt, node, "default");
8721 if (decl->value != NULL) {
8730 decl->flags |= XML_SCHEMAS_ELEM_FIXED;
8731 decl->value = fixed;
8743 if (decl->namedType != NULL) {
8750 WXS_ELEM_TYPEDEF(decl) = xmlSchemaParseComplexType(ctxt, schema, child, 0);
8758 if (decl->namedType != NULL) {
8765 WXS_ELEM_TYPEDEF(decl) = xmlSchemaParseSimpleType(ctxt, schema, child, 0);
8772 XML_SCHEMA_TYPE_IDC_UNIQUE, decl->targetNamespace);
8775 XML_SCHEMA_TYPE_IDC_KEY, decl->targetNamespace);
8778 XML_SCHEMA_TYPE_IDC_KEYREF, decl->targetNamespace);
8783 decl->idcs = (void *) curIDC;
8794 decl->annot = annot;
8802 return ((xmlSchemaBasicItemPtr) decl);
8804 particle->children = (xmlSchemaTreeItemPtr) decl;
8813 if (decl != NULL)
8814 decl->annot = NULL;
19124 * Pointlessness of attr. prohibs, if a matching attr. decl
19546 * @decl: the element declaration
19721 * @decl: the element declaration
24911 * {disallowed substitutions}: the "block" on the element decl.
24970 xmlSchemaElementPtr elemDecl = vctxt->inode->decl;
25245 iattr->decl = attrDecl;
25272 tmpiattr->decl = attrDecl;
25288 tmpiattr->decl = attrDecl;
25349 iattr->decl = xmlSchemaGetAttributeDecl(vctxt->schema,
25351 if (iattr->decl != NULL) {
25366 iattr->typeDef = WXS_ATTR_TYPEDEF(iattr->decl);
25476 iattr->value = (xmlChar *) iattr->decl->defValue;
25477 iattr->val = iattr->decl->defVal;
25584 if ((iattr->decl->flags & XML_SCHEMAS_ATTR_FIXED) ||
25668 if (iattr->decl->defVal == NULL) {
25673 iattr->vcValue = iattr->decl->defValue;
25680 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->decl->defVal))
25721 iattr->decl->targetNamespace,
25722 iattr->decl->name),
25774 xmlSchemaWildcardPtr wild = (xmlSchemaWildcardPtr) vctxt->inode->decl;
25795 xmlSchemaElementPtr decl = NULL;
25797 decl = xmlSchemaGetElem(vctxt->schema,
25799 if (decl != NULL) {
25800 vctxt->inode->decl = decl;
25922 inode->decl = item;
26087 if (inode->decl == NULL) {
26116 if ((inode->decl->value != NULL) &&
26135 inode->decl->value, &(inode->val));
26160 inode, inode->typeDef, inode->decl->value);
26164 inode->decl->value);
26187 inode->decl->value);
26192 textChild = xmlNewText(inode->decl->value);
26246 if ((inode->decl->value != NULL) &&
26247 (inode->decl->flags & XML_SCHEMAS_ELEM_FIXED)) {
26281 if (! xmlStrEqual(inode->value, inode->decl->value)){
26291 inode->value, inode->decl->value);
26308 inode->decl->value)) {
26315 inode->decl->value);
26471 vctxt->inode->decl = xmlSchemaGetElem(vctxt->schema,
26475 if (vctxt->inode->decl == NULL) {
26726 ((vctxt->inode->decl == NULL) ||
26727 (vctxt->inode->decl->value == NULL)))
26837 if ((vctxt->inode->decl == NULL) &&
26848 vctxt->inode->decl = xmlSchemaGetElem(vctxt->schema,
26851 if (vctxt->inode->decl == NULL) {
26860 if (vctxt->inode->decl == NULL)
26863 if (vctxt->inode->decl->type == XML_SCHEMA_TYPE_ANY) {
26885 if (vctxt->inode->decl->type != XML_SCHEMA_TYPE_ELEMENT) {
26887 * Clear the "decl" field to not confuse further processing.
26889 vctxt->inode->decl = NULL;