19#define WITH_XSLT_DEBUG_AVT
39#if __STDC_VERSION__ >= 199901L
63 "xsltNewAttrVTPtr : malloc failed\n");
92 if (avt ==
NULL)
return;
99 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->
segments[
i]);
102 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->
segments[
i]);
174 int i = 0, lastavt = 0;
181 "Attribute '%s': The content is expected to be a single text "
182 "node when compiling an AVT.\n",
attr->
name);
190#ifdef WITH_XSLT_DEBUG_AVT
195#ifdef WITH_XSLT_DEBUG_AVT
197 "AVT %s: already compiled\n",
attr->
name);
219 if (*(
cur+1) ==
'{') {
226 if (*(
cur+1) ==
'}') {
244 while ((*
cur != 0) && (*
cur !=
'}')) {
246 if ((*
cur ==
'\'') || (*
cur ==
'"')) {
247 char delim = *(
cur++);
248 while ((*
cur != 0) && (*
cur != delim))
257 "Attribute '%s': The AVT has an unmatched '{'.\n",
271 xmlXPathCompExprPtr comp;
276 "Attribute '%s': Failed to compile the expression "
295 }
else if (*
cur ==
'}') {
304 "Attribute '%s': The AVT has an unmatched '}'.\n",
324 "xsltCompileAttr: malloc problem\n");
326 if (
attr->psvi != avt) {
358 xmlXPathCompExprPtr comp;
366 for (
i = 0;
i <
cur->nb_seg;
i++) {
370 comp = (xmlXPathCompExprPtr)
cur->segments[
i];
static xsltAttrVTPtr xsltNewAttrVT(xsltStylesheetPtr style)
xsltAttrVT * xsltAttrVTPtr
void xsltFreeAVTList(void *avt)
static xsltAttrVTPtr xsltSetAttrVTsegment(xsltAttrVTPtr avt, void *val)
static void xsltFreeAttrVT(xsltAttrVTPtr avt)
void xsltCompileAttr(xsltStylesheetPtr style, xmlAttrPtr attr)
xmlChar * xsltEvalAVT(xsltTransformContextPtr ctxt, void *avt, xmlNodePtr node)
struct _xsltAttrVT xsltAttrVT
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static unsigned __int64 next
XMLPUBVAR xmlMallocFunc xmlMalloc
XMLPUBVAR xmlFreeFunc xmlFree
XMLPUBVAR xmlReallocFunc xmlRealloc
struct _xsltAttrVT * next
xmlChar * xsltEvalXPathStringNs(xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp, int nsNr, xmlNsPtr *nsList)
XMLPUBFUN const xmlChar *XMLCALL xmlStrchr(const xmlChar *str, xmlChar val)
XMLPUBFUN xmlChar *XMLCALL xmlStrndup(const xmlChar *cur, int len)
XMLPUBFUN xmlChar *XMLCALL xmlStrcat(xmlChar *cur, const xmlChar *add)
XMLPUBFUN xmlChar *XMLCALL xmlStrncat(xmlChar *cur, const xmlChar *add, int len)
void xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...)
xmlXPathCompExprPtr xsltXPathCompile(xsltStylesheetPtr style, const xmlChar *str)
xmlGenericErrorFunc xsltGenericDebug
void * xsltGenericDebugContext