Well, isNamespace() currently just checks for instanceof NamespaceNode, so I think isAttribute() would have to ensure !att.getNodeName().startsWith("xmlns"). Additionally, I guess the AttributeIterator class would need to be modified to exclude "xmlns" attributes from the next() and hasNext() method evaluations.
::Ari ----- Original Message ----- From: "bob mcwhirter" <[EMAIL PROTECTED]> To: "Ari Kermaier" <[EMAIL PROTECTED]> Cc: "Jaxen Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 5:04 PM Subject: Re: [Jaxen] namespace declaration question > > Any thoughts on this? > > I guess isAttribute(..) should check to ensure that !isNamespace(..). > > -bob > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jaxen-interest > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest