Commit 8fb06182 by Francois Gygi

test XERCES_VERSION_MAJOR macro

git-svn-id: http://qboxcode.org/svn/qb/trunk@1688 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 522d4685
......@@ -61,7 +61,10 @@ class StructuredDocumentHandler : public DefaultHandler
void startElement(const XMLCh* const uri,const XMLCh* const localname,
const XMLCh* const qname, const Attributes& attributes);
#if XERCESC_3
#ifndef XERCES_VERSION_MAJOR
#error "XERCES_VERSION_MAJOR not defined"
#endif
#if XERCES_VERSION_MAJOR > 2
void characters(const XMLCh* const chars, const XMLSize_t length);
#else
void characters(const XMLCh* const chars, const unsigned int length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment