aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/xerces/elements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-09-19 10:19:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-09-19 10:19:48 +0200
commita066f175060a6ada5c60c378ca4dab6e9b571e35 (patch)
treeee2d1d119306d9d9cba390e6e93543f11993af9f /libxsd/xsd/cxx/parser/xerces/elements.txx
parent169b95d1c079bcc12c2a9bc881ecf2cccf0b6029 (diff)
Don't use using namespace xercesc because of MSXML conflict
Diffstat (limited to 'libxsd/xsd/cxx/parser/xerces/elements.txx')
-rw-r--r--libxsd/xsd/cxx/parser/xerces/elements.txx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/parser/xerces/elements.txx b/libxsd/xsd/cxx/parser/xerces/elements.txx
index f41b074..bc67bc6 100644
--- a/libxsd/xsd/cxx/parser/xerces/elements.txx
+++ b/libxsd/xsd/cxx/parser/xerces/elements.txx
@@ -571,7 +571,11 @@ namespace xsd
XSD_AUTO_PTR<xercesc::SAX2XMLReader> document<C>::
create_sax_ (flags f, const properties<C>& p)
{
- using namespace xercesc;
+ // Cannot use 'using namespace' because of MSXML conflict.
+ //
+ using xercesc::XMLUni;
+ using xercesc::SAX2XMLReader;
+ using xercesc::XMLReaderFactory;
XSD_AUTO_PTR<SAX2XMLReader> sax (
XMLReaderFactory::createXMLReader ());