aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/xerces/elements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-11-05 06:49:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-11-05 06:49:41 +0200
commit9878dfe26a08ea5638c562c22c9becd11d462015 (patch)
tree482b77889d4bc7e82bdc600e85450aa2edf21e43 /libxsd/xsd/cxx/parser/xerces/elements.txx
parentfccba6f6bc4c3960473423656563045dcc6c2067 (diff)
Enable multiple import support for Xerces-C++ 3.1.0 or later
Diffstat (limited to 'libxsd/xsd/cxx/parser/xerces/elements.txx')
-rw-r--r--libxsd/xsd/cxx/parser/xerces/elements.txx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/parser/xerces/elements.txx b/libxsd/xsd/cxx/parser/xerces/elements.txx
index e09ffc5..62376d0 100644
--- a/libxsd/xsd/cxx/parser/xerces/elements.txx
+++ b/libxsd/xsd/cxx/parser/xerces/elements.txx
@@ -607,7 +607,10 @@ namespace xsd
sax->setFeature (XMLUni::fgSAX2CoreValidation, true);
sax->setFeature (XMLUni::fgXercesSchema, true);
-#if _XERCES_VERSION >= 30000
+ // Xerces-C++ 3.1.0 is the first version with working multi import
+ // support.
+ //
+#if _XERCES_VERSION >= 30100
if (!(f & flags::no_multiple_imports))
sax->setFeature (XMLUni::fgXercesHandleMultipleImports, true);
#endif