aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/xerces/elements.txx
diff options
context:
space:
mode:
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 ());