mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
fixing bug #107129, removing excessive allocation and calls to *printf in
* tree.c valid.c xpath.c include/libxml/tree.h include/libxml/valid.h: fixing bug #107129, removing excessive allocation and calls to *printf in the code to build QName strings. Daniel
This commit is contained in:
@@ -538,11 +538,24 @@ LIBXML_DLL_IMPORT extern int xmlSaveNoEmptyTags; /* save empty tags as <empty></
|
||||
LIBXML_DLL_IMPORT extern int xmlDefaultBufferSize; /* default buffer size */
|
||||
#endif
|
||||
|
||||
int xmlValidateNCName (const xmlChar *value, int space);
|
||||
int xmlValidateQName (const xmlChar *value, int space);
|
||||
int xmlValidateName (const xmlChar *value, int space);
|
||||
int xmlValidateNMToken (const xmlChar *value, int space);
|
||||
/*
|
||||
* Some helper functions
|
||||
*/
|
||||
int xmlValidateNCName (const xmlChar *value,
|
||||
int space);
|
||||
int xmlValidateQName (const xmlChar *value,
|
||||
int space);
|
||||
int xmlValidateName (const xmlChar *value,
|
||||
int space);
|
||||
int xmlValidateNMToken (const xmlChar *value,
|
||||
int space);
|
||||
|
||||
xmlChar * xmlBuildQName (const xmlChar *ncname,
|
||||
const xmlChar *prefix,
|
||||
xmlChar *memory,
|
||||
int len);
|
||||
xmlChar * xmlSplitQName2 (const xmlChar *name,
|
||||
xmlChar **prefix);
|
||||
/*
|
||||
* Handling Buffers.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user