[jira] [Commented] (XERCESC-2238) Missing AttributesImpl or AttributesListImpl or VecAttrListImpl copy constructor

"Scott Cantor (Jira)" <[email protected]>
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/XERCESC-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613047#comment-17613047 ] 

Scott Cantor commented on XERCESC-2238:
---------------------------------------

If I interpret any of this correctly (I don't use SAX so I know nothing about it or any of that part of the code base) what this is proposing is an ABI change, so I will schedule this for 4.0.0 for clarity.

As for the Stack Overflow comment, I happen to agree with it but it's not my decision to admit what should be obvious to any observers about the state of the project. Take it up with the ASF (seriously, I encourage that).

> Missing AttributesImpl  or AttributesListImpl or VecAttrListImpl copy constructor
> ---------------------------------------------------------------------------------
>
>                 Key: XERCESC-2238
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2238
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: SAX/SAX2
>    Affects Versions: 3.2.3
>            Reporter: Charles Shoopak
>            Priority: Minor
>              Labels: easyfix
>
>    In VecAttributesImpl.hpp (and same for VecAttrListImpl):
>    //  Unimplemented constructors and operators
>     // -----------------------------------------------------------------------
>     VecAttributesImpl(const VecAttributesImpl&);
>     VecAttributesImpl& operator=(const VecAttributesImpl&);
>  
> We can read of the storied AttributesImpl in Attributes.hpp, it says:
>    "The instance provided will return valid results only during the scope of the startElement invocation (to save it for future use, the application must make a copy: the AttributesImpl helper class provides a convenient constructor for doing so)."
> And notes elsewhere say AttributesListImpl is deprecated, use (non existent) AttributesImpl instead.
> Dom has cloneNode. I could go looking for an older version of xerces that contains AttributesListImpl? Or write some hack for now. Am I missing something obvious?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.