dbertoni 2002/12/23 17:00:24
Modified: c/src/DOMSupport DOMServices.cpp DOMServices.hpp
Log:
Removed obsolete classes.
Revision Changes Path
1.40 +0 -47 xml-xalan/c/src/DOMSupport/DOMServices.cpp
Index: DOMServices.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- DOMServices.cpp 20 Nov 2002 02:27:25 -0000 1.39
+++ DOMServices.cpp 24 Dec 2002 01:00:23 -0000 1.40
@@ -141,53 +141,6 @@
const XalanDOMString::size_type&
DOMServices::s_XMLNamespacePrefixURILength = ::s_XMLNamespacePrefixURILength;
-DOMServices::WhitespaceSupport::WhitespaceSupport()
-{
-}
-
-
-
-DOMServices::WhitespaceSupport::~WhitespaceSupport()
-{
-}
-
-
-
-DOMServices::WhitespaceSupportDefault::WhitespaceSupportDefault()
-{
-}
-
-
-
-DOMServices::WhitespaceSupportDefault::~WhitespaceSupportDefault()
-{
-}
-
-
-
-bool
-DOMServices::WhitespaceSupportDefault::isIgnorableWhitespace(const
XalanText& node) const
-{
- const XalanDOMString theData(node.getData());
-
- const XalanDOMString::size_type theLength = length(theData);
-
- XalanDOMString::size_type i = 0;
-
- for (; i < theLength; i++)
- {
- const XalanDOMChar theChar = charAt(theData, i);
-
- if (!isXMLWhitespace(theChar))
- {
- break;
- }
- }
-
- return i == theLength ? true : false;
-}
-
-
void
DOMServices::initialize()
1.30 +0 -41 xml-xalan/c/src/DOMSupport/DOMServices.hpp
Index: DOMServices.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.hpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- DOMServices.hpp 20 Nov 2002 02:27:25 -0000 1.29
+++ DOMServices.hpp 24 Dec 2002 01:00:24 -0000 1.30
@@ -115,47 +115,6 @@
static const XalanDOMString s_emptyString;
- class XALAN_DOMSUPPORT_EXPORT WhitespaceSupport
- {
- public:
-
- WhitespaceSupport();
-
- virtual
- ~WhitespaceSupport();
-
- /**
- * Tell if the node is ignorable whitespace. This should be in
the DOM.
- * Return false if the parser doesn't handle this.
- *
- * @param node text node queried
- * @return true if white space can be ignored
- */
- virtual bool
- isIgnorableWhitespace(const XalanText& node) const = 0;
- };
-
- // A default implementation using the values from the XML spec.
- class XALAN_DOMSUPPORT_EXPORT WhitespaceSupportDefault : public
WhitespaceSupport
- {
- public:
-
- WhitespaceSupportDefault();
-
- virtual
- ~WhitespaceSupportDefault();
-
- /**
- * Tell if the node is ignorable whitespace. This should be in
the DOM.
- * Return false if the parser doesn't handle this.
- *
- * @param node text node queried
- * @return true if white space can be ignored
- */
- virtual bool
- isIgnorableWhitespace(const XalanText& node) const;
- };
-
/**
* Initialize static data. Must be called before any
* other functions are called.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]