You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2024/09/23 20:11:00 UTC
[jira] [Updated] (XERCESC-2238) Missing AttributesImpl or AttributesListImpl or VecAttrListImpl copy constructor
[ https://issues.apache.org/jira/browse/XERCESC-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor updated XERCESC-2238:
----------------------------------
Fix Version/s: 3.3.0
(was: 4.0.0)
> 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, 3.2.4
> Reporter: Charles Shoopak
> Priority: Minor
> Fix For: 3.3.0
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org