HI

ask:
Why DOMPI member variable is private? and deleteData, substringData
functions is not virtual..

I develop DOM level 2 XML Mutation Event publishing..
I have no problem for develop DOMDocument, DOMElement, DOMText, DOMCDATA,
DOMComment...
 I use subclassing the xercesc DOM Node Implementation classes..

but I met problem at DOMProcessingInstructionImpl class..



this is current DOMProcessingInstructionImpl:
class CDOM_EXPORT DOMProcessingInstructionImpl: public
DOMProcessingInstruction {
*private:*
    DOMNodeImpl   fNode;
    DOMChildNode  fChild;
    // use fCharacterData to store its data so that those character
utitlites can be used
    DOMCharacterDataImpl   fCharacterData;

    XMLCh       *fTarget;
    const XMLCh *fBaseURI;

....

*    void         deleteData(XMLSize_t offset, XMLSize_t count);
    const XMLCh* substringData(XMLSize_t offset, XMLSize_t count) const;*

...

I want to deleteData, substringData functions to be virtual functions.. and
fNode, fParent, fNodeIDMap attribute to be protected


(revisiton: 638745)

Reply via email to