DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33062>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33062 Summary: using setFeature ("http://xml.org/sax/features/namespaces",0) and losing attributes Product: Xerces-J Version: unspecified Platform: PC OS/Version: Windows 2000 Status: NEW Keywords: Xerces2 Severity: normal Priority: P1 Component: DOM AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] BugsThisDependsOn: 33039 Referring to ASF Bugzilla Bug 33039 ... The problem is not of setAttributes() as I had mentioned. I need to rename a Node. I have set the parser option parser.setFeature ("http://xml.org/sax/features/namespaces",0) before reading the XML file. The getAttributes() does not return back (show) the attributes even though they are available/present in the DOM structure. I get them back when I serialize the DOM tree? But when I use parser.setFeature ("http://xml.org/sax/features/namespaces",1), I can get access to the attributes (and change them using setAttributes() ) How do I get access to the attributes with the parser option parser.setFeature ("http://xml.org/sax/features/namespaces",0)? Tia Rahul -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
