Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Made novem compatible. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d41caf001d9d4d2a6fbbe4da3736f666 |
User & Date: | rolf 2019-03-07 22:45:23.213 |
References
2020-06-09
| ||
22:51 | Reverted part of [d41caf001d9d4d2a], as attempt to fix [c6cc9e097be16bd3]. check-in: 2d46161b9f user: rolf tags: trunk | |
Context
2019-03-14
| ||
11:38 | More tests to check/document behaviour in case of using traced doc vars (pattern [dom parse $xml docvar]). check-in: 30c2ebb89f user: rolf tags: trunk | |
2019-03-07
| ||
22:46 | Merged from trunk. check-in: 60af362516 user: rolf tags: schema | |
22:45 | Made novem compatible. check-in: d41caf001d user: rolf tags: trunk | |
22:44 | Changed from original in DTD system identifier, so that it points to the included external dtd. check-in: d4bb0eb147 user: rolf tags: trunk | |
Changes
Changes to generic/dom.c.
︙ | ︙ | |||
5131 5132 5133 5134 5135 5136 5137 | int insideDTD; /* Now the tdom cmd specific elements */ int tdomStatus; Tcl_Obj *extResolver; } tdomCmdReadInfo; | | | | | | 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 | int insideDTD; /* Now the tdom cmd specific elements */ int tdomStatus; Tcl_Obj *extResolver; } tdomCmdReadInfo; int tcldom_returnDocumentObj (Tcl_Interp *interp, domDocument *document, int setVariable, Tcl_Obj *var_name, int trace, int forOwnerDocument); void tdom_freeProc ( Tcl_Interp *interp, void *userData ) { |
︙ | ︙ |
Changes to generic/tcldom.h.
︙ | ︙ | |||
65 66 67 68 69 70 71 | #if defined(_MSC_VER) || defined(__MINGW32__) # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif #define STR_TDOM_VERSION(v) (VERSION) | | | | 65 66 67 68 69 70 71 72 73 74 75 76 77 | #if defined(_MSC_VER) || defined(__MINGW32__) # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif #define STR_TDOM_VERSION(v) (VERSION) int Tdom_Init (Tcl_Interp *interp); int Tdom_SafeInit (Tcl_Interp *interp); #endif |
Changes to generic/tclexpat.h.
︙ | ︙ | |||
147 148 149 150 151 152 153 | \-------------------------------------------------------------------------*/ #if defined(_MSC_VER) || defined(BUILD_tdom) || defined(__MINGW32__) # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif | | | | | | | | | | | | | | | | | | | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | \-------------------------------------------------------------------------*/ #if defined(_MSC_VER) || defined(BUILD_tdom) || defined(__MINGW32__) # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif Tcl_ObjCmdProc TclExpatObjCmd; int CheckExpatParserObj (Tcl_Interp *interp, Tcl_Obj *const nameObj); int CHandlerSetInstall (Tcl_Interp *interp, Tcl_Obj *const expatObj, CHandlerSet *handlerSet); int CHandlerSetRemove (Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); CHandlerSet * CHandlerSetCreate (char *name); CHandlerSet * CHandlerSetGet (Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); void * CHandlerSetGetUserData (Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); TclGenExpatInfo * GetExpatInfo (Tcl_Interp *interp, Tcl_Obj *const expatObj); |
Changes to generic/tdomDecls.h.
︙ | ︙ | |||
10 11 12 13 14 15 16 | #endif /* * Exported function declarations: */ /* 0 */ | | | | | | | | | | | | | | | | | | | | | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | #endif /* * Exported function declarations: */ /* 0 */ int TclExpatObjCmd(ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 1 */ int CheckExpatParserObj(Tcl_Interp *interp, Tcl_Obj *const nameObj); /* 2 */ int CHandlerSetInstall(Tcl_Interp *interp, Tcl_Obj *const expatObj, CHandlerSet *handlerSet); /* 3 */ int CHandlerSetRemove(Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); /* 4 */ CHandlerSet * CHandlerSetCreate(char *name); /* 5 */ CHandlerSet * CHandlerSetGet(Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); /* 6 */ void * CHandlerSetGetUserData(Tcl_Interp *interp, Tcl_Obj *const expatObj, char *handlerSetName); /* 7 */ TclGenExpatInfo * GetExpatInfo(Tcl_Interp *interp, Tcl_Obj *const expatObj); /* 8 */ XML_Size XML_GetCurrentLineNumber(XML_Parser parser); /* 9 */ XML_Size XML_GetCurrentColumnNumber(XML_Parser parser); /* 10 */ XML_Index XML_GetCurrentByteIndex(XML_Parser parser); /* 11 */ int XML_GetCurrentByteCount(XML_Parser parser); /* 12 */ enum XML_Status XML_SetBase(XML_Parser parser, const XML_Char *base); /* 13 */ const XML_Char * XML_GetBase(XML_Parser parser); /* 14 */ int XML_GetSpecifiedAttributeCount(XML_Parser parser); /* 15 */ int XML_GetIdAttributeIndex(XML_Parser parser); /* 16 */ domNode * tcldom_getNodeFromName(Tcl_Interp *interp, char *nodeName, char **errMsg); /* 17 */ domDocument * tcldom_getDocumentFromName(Tcl_Interp *interp, char *docName, char **errMsg); typedef struct TdomStubs { int magic; void *hooks; int (*tclExpatObjCmd) (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 0 */ |
︙ | ︙ | |||
83 84 85 86 87 88 89 | const XML_Char * (*xML_GetBase) (XML_Parser parser); /* 13 */ 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 */ } TdomStubs; | | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | const XML_Char * (*xML_GetBase) (XML_Parser parser); /* 13 */ 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 */ } TdomStubs; const TdomStubs *tdomStubsPtr; #ifdef __cplusplus } #endif #if defined(USE_TDOM_STUBS) |
︙ | ︙ |