mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
parser: Consolidate scanning of XML Names
Use new productions by default. Fixes #194. Fixes #364. See #707.
This commit is contained in:
@@ -55,6 +55,13 @@ struct _xmlAttrHashBucket {
|
||||
int index;
|
||||
};
|
||||
|
||||
#define XML_SCAN_NC 1
|
||||
#define XML_SCAN_NMTOKEN 2
|
||||
#define XML_SCAN_OLD10 4
|
||||
|
||||
XML_HIDDEN const xmlChar *
|
||||
xmlScanName(const xmlChar *buf, size_t maxSize, int flags);
|
||||
|
||||
XML_HIDDEN void
|
||||
xmlCtxtVErr(xmlParserCtxt *ctxt, xmlNode *node, xmlErrorDomain domain,
|
||||
xmlParserErrors code, xmlErrorLevel level,
|
||||
|
||||
Reference in New Issue
Block a user