summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/schema-dom-parser.hxx
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
commit8286ac511144e4f17d34eac9affb97e50646344a (patch)
treef1af7320d7b6be6be059216d0ad08ac7b4f73fd0 /libxsd-frontend/xsd-frontend/schema-dom-parser.hxx
parenta15cf65c44d5c224169c32ef5495b68c758134b7 (diff)
Imported Upstream version 4.0.0upstream/4.0.0
Diffstat (limited to 'libxsd-frontend/xsd-frontend/schema-dom-parser.hxx')
-rw-r--r--libxsd-frontend/xsd-frontend/schema-dom-parser.hxx17
1 files changed, 3 insertions, 14 deletions
diff --git a/libxsd-frontend/xsd-frontend/schema-dom-parser.hxx b/libxsd-frontend/xsd-frontend/schema-dom-parser.hxx
index 7571677..344065a 100644
--- a/libxsd-frontend/xsd-frontend/schema-dom-parser.hxx
+++ b/libxsd-frontend/xsd-frontend/schema-dom-parser.hxx
@@ -1,6 +1,5 @@
// file : xsd-frontend/schema-dom-parser.hxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
-// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_FRONTEND_SCHEMA_DOM_PARSER_HXX
@@ -13,6 +12,8 @@
#include <xercesc/validators/schema/XSDLocator.hpp>
#include <xercesc/validators/schema/XSDErrorReporter.hpp>
+#include <xsd-frontend/version.hxx> // Check Xerces-C++ version.
+
namespace XSDFrontend
{
namespace XML
@@ -35,11 +36,7 @@ namespace XSDFrontend
const unsigned int url_id,
const XMLCh* const prefix,
const Xerces::RefVectorOf<Xerces::XMLAttr>& attributes,
-#if _XERCES_VERSION >= 30000
const XMLSize_t attribute_count,
-#else
- const unsigned int attribute_count,
-#endif
const bool empty,
const bool root);
@@ -51,11 +48,7 @@ namespace XSDFrontend
virtual void
docCharacters (const XMLCh* const,
-#if _XERCES_VERSION >= 30000
const XMLSize_t length,
-#else
- const unsigned int length,
-#endif
const bool cdata);
virtual void
@@ -69,11 +62,7 @@ namespace XSDFrontend
virtual void
ignorableWhitespace (const XMLCh* const,
-#if _XERCES_VERSION >= 30000
const XMLSize_t length,
-#else
- const unsigned int length,
-#endif
const bool cdata);
private:
SchemaDOMParser (SchemaDOMParser const&);