I was pleased to see that Xerces developer Tinny ng added this to the XMLString class and went a step further to null the stringpointer (see Resources).
When a long string variable is assigned a string constant, the stringpointer is assigned the address of the memory block generated for the string constant.
当一个串变量被赋予一个串常量时,串指针被赋予串常量内存块的地址。
3
The structure in Listing 4 is used by the mimeokay function for one purpose: to set the global stringpointer fstr to the appropriate MIME type string matching the file's extension: fext.