tDOM

Check-in [e407c9fd00]
Login

Check-in [e407c9fd00]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the new schema feature prefixns for namespace prefix resolution in local key constraint XPath expressions.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | localkey
Files: files | file ages | folders
SHA3-256: e407c9fd0080fa7bcb5448fa6c05b85d96ac19d63b4aed57f56f4bae314b9c73
User & Date: rolf 2019-05-10 00:49:22.950
Context
2019-05-10
13:05
Merged from schema. check-in: db1bcdb342 user: rolf tags: localkey
00:49
Use the new schema feature prefixns for namespace prefix resolution in local key constraint XPath expressions. check-in: e407c9fd00 user: rolf tags: localkey
00:40
Merge from schema. check-in: 508a776b44 user: rolf tags: localkey
Changes
Unified Diff Ignore Whitespace Patch
Changes to generic/schema.c.
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
    char *errMsg = NULL;

    CHECK_SI
    CHECK_TOPLEVEL
    checkNrArgs (3,3,"Expected: <selector> <fieldlist>");

    if (xpathParse (Tcl_GetString (objv[1]), NULL, XPATH_EXPR,
                    NULL, NULL, &s, &errMsg) < 0) {
        SetResult3 ("Error in selector xpath: '", errMsg, "");
        FREE (errMsg);
        return TCL_ERROR;
    }
    if (processSchemaXPath (interp, s, 0, 1) != TCL_OK) {
        xpathFreeAst (s);
        return TCL_ERROR;







|







3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
    char *errMsg = NULL;

    CHECK_SI
    CHECK_TOPLEVEL
    checkNrArgs (3,3,"Expected: <selector> <fieldlist>");

    if (xpathParse (Tcl_GetString (objv[1]), NULL, XPATH_EXPR,
                    sdata->prefixns, NULL, &s, &errMsg) < 0) {
        SetResult3 ("Error in selector xpath: '", errMsg, "");
        FREE (errMsg);
        return TCL_ERROR;
    }
    if (processSchemaXPath (interp, s, 0, 1) != TCL_OK) {
        xpathFreeAst (s);
        return TCL_ERROR;