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 bu...@apache.org on 2002/07/12 21:42:18 UTC

DO NOT REPLY [Bug 10757] New: - attribute order in namedNodeMap doesn't correspond to order in document

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10757>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10757

attribute order in namedNodeMap doesn't correspond to order in document

           Summary: attribute order in namedNodeMap doesn't correspond to
                    order in document
           Product: Xerces-C++
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: tdodd@iss.net


I'm using DOM_Node's getAttributes() to get a DOM_NamedNodeMap in order to 
serialize an element's attributes.  I iterate through the node map beginning at 
0, serializing out each attribute in turn.  The problem is that the attributes 
are stored in the node map in a different order than they occur in the 
document.  This creates problems in creating canonical XML for signing or 
signature verification.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org