Home | History | Annotate | Download | only in libxml2

Lines Matching refs:selector

716  * The identity-constraint "field" and "selector" item, holding the
743 xmlSchemaIDCSelectPtr selector;
830 xmlSchemaIDCMatcherPtr matcher; /* the correspondent field/selector
3894 /* Selector */
3895 if (idcDef->selector != NULL) {
3896 if (idcDef->selector->xpathComp != NULL)
3897 xmlFreePattern((xmlPatternPtr) idcDef->selector->xpathComp);
3898 xmlFree(idcDef->selector);
7992 xmlSchemaIDCSelectPtr selector,
7999 * c-selector-xpath:
8000 * Schema Component Constraint: Selector Value OK
8002 * TODO: 1 The {selector} must be a valid XPath expression, as defined
8005 if (selector == NULL) {
8009 "the selector is not specified.\n", NULL, NULL);
8016 if (selector->xpath == NULL) {
8021 "The XPath expression of the selector is not valid", NULL);
8031 * TODO: Call xmlPatterncompile with different options for selector/
8063 * TODO: Differentiate between "selector" and "field".
8066 selector->xpathComp = (void *) xmlPatterncompile(selector->xpath,
8069 selector->xpathComp = (void *) xmlPatterncompile(selector->xpath,
8074 if (selector->xpathComp == NULL) {
8080 "compiled", selector->xpath);
8202 * <selector> and <field> elements.
8239 "allocating a 'selector' of an identity-constraint definition",
8256 * URGENT TODO: "field"s have an other syntax than "selector"s.
8265 "validating the XPath expression of a IDC selector.\n",
8396 "(annotation?, (selector, field+))");
8399 * Child element <selector>.
8401 if (IS_SCHEMA(child, "selector")) {
8402 item->selector = xmlSchemaParseIDCSelectorAndField(ctxt,
8427 NULL, "(annotation?, (selector, field+))");
8434 NULL, "(annotation?, (selector, field+))");
22375 * @parent: the parent "selector" state object if any
22376 * @type: "selector" or "field"
22487 xmlGenericError(xmlGenericErrorContext, "IDC: ['%s'] selector '%s'\n",
22546 * the IDC selector.
22921 * An IDC 'selector' state object resolved to a target node,
23123 } /* if selector */
23281 idc->selector, XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) == -1)