aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-11-14 08:55:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-11-14 08:55:22 +0200
commitac0ec9b7689393e5e549c08765ca736c673c54bb (patch)
treee231e8d63059c6fb20f2de2dbc742ab075dbd7fb /libxsd/xsd
parentf2ec36ab5fa04e11dee655d9c623baac95db1eba (diff)
Drop support for Berkeley DB XML
Diffstat (limited to 'libxsd/xsd')
-rw-r--r--libxsd/xsd/cxx/tree/text.txx14
1 files changed, 0 insertions, 14 deletions
diff --git a/libxsd/xsd/cxx/tree/text.txx b/libxsd/xsd/cxx/tree/text.txx
index 1aab8fe..daf8693 100644
--- a/libxsd/xsd/cxx/tree/text.txx
+++ b/libxsd/xsd/cxx/tree/text.txx
@@ -31,14 +31,7 @@ namespace xsd
n->getNextSibling () == 0)
{
DOMText* t (static_cast<DOMText*> (n));
-
- // Berkeley DB XML DOM does not implement getLength().
- //
-#ifndef DBXML_DOM
return xml::transcode<C> (t->getData (), t->getLength ());
-#else
- return xml::transcode<C> (t->getData ());
-#endif
}
std::basic_string<C> r;
@@ -51,14 +44,7 @@ namespace xsd
case DOMNode::CDATA_SECTION_NODE:
{
DOMText* t (static_cast<DOMText*> (n));
-
- // Berkeley DB XML DOM does not implement getLength().
- //
-#ifndef DBXML_DOM
r += xml::transcode<C> (t->getData (), t->getLength ());
-#else
- r += xml::transcode<C> (t->getData ());
-#endif
break;
}
case DOMNode::ELEMENT_NODE: