Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2238

Missing AttributesImpl or AttributesListImpl or VecAttrListImpl copy constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • SAX/SAX2
    • None

    Description

         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?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            charpak Charles Shoopak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: