Hi,
i just checked out the Xerces nightly build. I'll list here what i
think are const-glitches or alike. Most of the ones i found previously are
now fixed.
DOMWriter::
virtual XMLCh* writeToString(const DOMNode &nodeToWrite) = 0;
This should take a DOMNode * (and not a reference) like everybody else.
DOMNode::
virtual const XMLCh* getTextContent() const = 0;
I'd expect here rather a non-const XMLCh* like the above writeToString,
since I don't think Xerces will ever maintain in memory whole textContents
for all the nodes.
DOMImplementation::
virtual bool hasFeature(const XMLCh *feature, const XMLCh *version) = 0;
Non-const? The DOMDocument::getNormalizationFeature() is const...
DOMRange::
virtual const DOMNode* getCommonAncestorContainer() const = 0;
Why is the returned node for once const?
Regards
Thomas Blatter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]