Done.  The changes have been checked into CVS.

Chih-Hsiang Chou
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]

----- Original Message -----
From: "Chih-Hsiang Chou" <[EMAIL PROTECTED]>
To: "xerces-dev" <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2000 6:17 PM
Subject: Proposed Xerces-C API Changes


To continue on improving Xerces-C, we are proposing the following API
changes.  Please post your comments/suggestions here by Mar. 10 (Friday)
4PM.  If your applications call any of these API, please update your code as
well.

[1] The following IDL attributes are readonly but have a set method
decalared in their C++ API now.  Those methods will be removed.

IDL Attribute          Set Method to be removed
----------------------------------------------
Attr.specified         DOM_Attr::setSpecified
Entity.publicId        DOM_Entity::setPublicId
Entity.systemId        DOM_Entity::setSystemId
Entity.notationName    DOM_Entity::setNotationName
Notation.publicId      DOM_Notation::setPublicId
Notation.systemId      DOM_Notation::setSystemId


[2] The following APIs have a "const" keyword added.  The node in
acceptNode() is also changed to a reference.

BEFORE
    DOM_Node DOM_NamedNodeMap::item(unsigned int index);
    DOM_Node DOM_NamedNodeMap::getNamedItem(const DOMString &name);
    virtual short DOM_NodeFilter::acceptNode(DOM_Node node) = 0;

AFTER
    DOM_Node DOM_NamedNodeMap::item(unsigned int index) const;
    DOM_Node DOM_NamedNodeMap::getNamedItem(const DOMString &name) const;
    virtual short DOM_NodeFilter::acceptNode(const DOM_Node& node) = 0;



Chih-Hsiang Chou
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]




Reply via email to