On Friday, 05/31/2002 at 11:38 EST, "J. David Eisenberg" <[EMAIL PROTECTED]> wrote:
> I think there is an error in the documentation in file
> src/org/apache/xpath/objects/XNodeSet.java.
> The comments for public NodeIterator nodeset() says that
> it casts to a nodelist and always issues an error.
I'm not sure what version of hte code you're looking at. The comment I see says:
Cast result object to a nodelist.
@return a NodeList
@throws javax.xml.transform.TransformerException
There's no "always" in that statement, or in the description of nodelist(). This is standard javadoc practice; if not stated, otherwise, @throws means "may throw".
______________________________________
Joe Kesselman / IBM Research
- Documentation in error / XPath Visualizer J. David Eisenberg
- Joseph Kesselman
