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

Overview
Comment:Merged from trunk.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | schema
Files: files | file ages | folders
SHA3-256: f782953f52068d81905b0f7fe231da19369191885214911a1af4e746c3703c54
User & Date: rolf 2020-06-11 00:52:32
Context
2020-06-27
00:09
Added text constraint command whitespace. check-in: 567b33a968 user: rolf tags: schema
2020-06-13
15:09
Started. check-in: 6c467a9d1f user: rolf tags: xsdwhitespace
2020-06-11
00:52
Merged from trunk. check-in: f782953f52 user: rolf tags: schema
00:48
Reverted my fix for [c6cc9e097be16bd3] from the previous commit and applied the better one proposed by mr_calvin. check-in: 5a424c365f user: rolf tags: trunk
2020-05-30
01:38
Scripted XPath functions now also work in domunique/domxpathboolean XPath expression arguments. check-in: 6c38650608 user: rolf tags: schema
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tdomDecls.h.

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
    int (*xML_GetSpecifiedAttributeCount) (XML_Parser parser); /* 14 */
    int (*xML_GetIdAttributeIndex) (XML_Parser parser); /* 15 */
    domNode * (*tcldom_getNodeFromName) (Tcl_Interp *interp, char *nodeName, char **errMsg); /* 16 */
    domDocument * (*tcldom_getDocumentFromName) (Tcl_Interp *interp, char *docName, char **errMsg); /* 17 */
    SchemaData * (*tdomGetSchemadata) (void); /* 18 */
} TdomStubs;

extern const TdomStubs *tdomStubsPtr;

#ifdef __cplusplus
}
#endif

#if defined(USE_TDOM_STUBS)








|







86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
    int (*xML_GetSpecifiedAttributeCount) (XML_Parser parser); /* 14 */
    int (*xML_GetIdAttributeIndex) (XML_Parser parser); /* 15 */
    domNode * (*tcldom_getNodeFromName) (Tcl_Interp *interp, char *nodeName, char **errMsg); /* 16 */
    domDocument * (*tcldom_getDocumentFromName) (Tcl_Interp *interp, char *docName, char **errMsg); /* 17 */
    SchemaData * (*tdomGetSchemadata) (void); /* 18 */
} TdomStubs;

EXTERN const TdomStubs *tdomStubsPtr;

#ifdef __cplusplus
}
#endif

#if defined(USE_TDOM_STUBS)

Changes to generic/tdominit.c.

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
..
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#include <tcl.h>
#include <dom.h>
#include <tdom.h>
#include <tcldom.h>
#include <tclpull.h>
#include <schema.h>

extern TdomStubs tdomStubs;

/*
 *----------------------------------------------------------------------------
 *
 * Tdom_Init --
 *
 *	Initialization routine for loadable module
................................................................................

#ifndef TDOM_NO_SCHEMA
    tDOM_SchemaInit (interp);
#endif
    
#ifdef USE_TCL_STUBS
    Tcl_PkgProvideEx(interp, PACKAGE_NAME, PACKAGE_VERSION, 
                     (ClientData) &tdomStubs);
#else
    Tcl_PkgProvide(interp, PACKAGE_NAME, PACKAGE_VERSION);
#endif

    return TCL_OK;
}








|







 







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
..
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#include <tcl.h>
#include <dom.h>
#include <tdom.h>
#include <tcldom.h>
#include <tclpull.h>
#include <schema.h>

const TdomStubs *tdomStubsPtr;

/*
 *----------------------------------------------------------------------------
 *
 * Tdom_Init --
 *
 *	Initialization routine for loadable module
................................................................................

#ifndef TDOM_NO_SCHEMA
    tDOM_SchemaInit (interp);
#endif
    
#ifdef USE_TCL_STUBS
    Tcl_PkgProvideEx(interp, PACKAGE_NAME, PACKAGE_VERSION, 
                     (ClientData) tdomStubsPtr);
#else
    Tcl_PkgProvide(interp, PACKAGE_NAME, PACKAGE_VERSION);
#endif

    return TCL_OK;
}