xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Goei <edwi...@sun.com>
Subject Re: Crimson: a bug in ElementNode2
Date Tue, 30 Oct 2001 02:15:44 GMT
"Tom M. Yeh" wrote:
> 
> At line 433 in org.apache.crimson.tree.ElementNode2.getAttributeNodeNS
> 
>         && (attr.getNamespaceURI() == namespaceURI...
> 
> shall add a test of whether attr.getNamespaceURI is null. Otherwise, the following statement
will cause a NullPointerException -- while it shall return false.
> 
>         element.hasAttributeNS("a-uri", "a-attribute-without-namespace");

Could you send me a test program that exhibits the bug?

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message