Lines Matching defs:selector
716 * The identity-constraint "field" and "selector" item, holding the
743 xmlSchemaIDCSelectPtr selector;
830 xmlSchemaIDCMatcherPtr matcher; /* the correspondent field/selector
3876 if (idcDef->selector != NULL) {
3877 if (idcDef->selector->xpathComp != NULL)
3878 xmlFreePattern((xmlPatternPtr) idcDef->selector->xpathComp);
3879 xmlFree(idcDef->selector);
7973 xmlSchemaIDCSelectPtr selector,
7980 * c-selector-xpath:
7983 * TODO: 1 The {selector} must be a valid XPath expression, as defined
7986 if (selector == NULL) {
7990 "the selector is not specified.\n", NULL, NULL);
7997 if (selector->xpath == NULL) {
8002 "The XPath expression of the selector is not valid", NULL);
8012 * TODO: Call xmlPatterncompile with different options for selector/
8044 * TODO: Differentiate between "selector" and "field".
8047 selector->xpathComp = (void *) xmlPatterncompile(selector->xpath,
8050 selector->xpathComp = (void *) xmlPatterncompile(selector->xpath,
8055 if (selector->xpathComp == NULL) {
8061 "compiled", selector->xpath);
8183 * <selector> and <field> elements.
8220 "allocating a 'selector' of an identity-constraint definition",
8237 * URGENT TODO: "field"s have an other syntax than "selector"s.
8246 "validating the XPath expression of a IDC selector.\n",
8377 "(annotation?, (selector, field+))");
8380 * Child element <selector>.
8382 if (IS_SCHEMA(child, "selector")) {
8383 item->selector = xmlSchemaParseIDCSelectorAndField(ctxt,
8408 NULL, "(annotation?, (selector, field+))");
8415 NULL, "(annotation?, (selector, field+))");
22253 * @parent: the parent "selector" state object if any
22254 * @type: "selector" or "field"
22365 xmlGenericError(xmlGenericErrorContext, "IDC: ['%s'] selector '%s'\n",
22424 * the IDC selector.
22799 * An IDC 'selector' state object resolved to a target node,
23001 } /* if selector */
23159 idc->selector, XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) == -1)