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/02/05 22:10:57 UTC

DO NOT REPLY [Bug 2702] - Can't find attribut specified by name

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=2702>.
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=2702

Can't find attribut specified by name

tng@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From tng@ca.ibm.com  2002-02-05 21:10 -------
I modified the DOMPrint.cpp as follows and run it using the Xerces-C++ 1.6.0:

+++ DOMPrint.cpp        Tue Feb  5 13:02:28 2002
@@ -618,6 +618,9 @@
  {
     DOM_Node  attribute = attributes.item(i);

+DOM_Node node=attributes.getNamedItem(attributes.item(i).getNodeName());
+if (node.isNull()) cout << "Test: Node is null" << endl;
+
     //
     //  Again the name has to be completely representable. But the
     //  attribute can have refs and requires the attribute style

It works and the Node is not null.

Please try again using the latest version Xerces-C++ 1.6.0 and please let us 
know if problem persists.  If problem persists, please post your sample 
code for further investigation.  Thanks!

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