The apiDoc for HTMLCollection says:

public Node namedItem(java.lang.String name)
This method retrieves a Node using a name. It first searches for a Node with 
a matching id attribute. If it doesn't find one, it then searches for a Node 
with
a matching name attribute, but only on those elements that are allowed a name 
attribute.


But I found that with xerces1.4.4, this method returns null for
<form name="myf" />
but works right for 
<form id="myf" />

Is this a  bug or am I somewhere wrong?

st.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to