Fix bug in namespace support

This commit is contained in:
James Clark 1998-11-20 04:05:24 +00:00
parent 0ea7c9e866
commit 3d10abbb60

View File

@ -30,14 +30,14 @@ static
int NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, int NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end,
const char **nextTokPtr) const char **nextTokPtr)
{ {
return NS(initScan)(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, ptr, end, nextTokPtr); return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, ptr, end, nextTokPtr);
} }
static static
int NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, int NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end,
const char **nextTokPtr) const char **nextTokPtr)
{ {
return NS(initScan)(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr); return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr);
} }
int NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, const char *name) int NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, const char *name)