Re: suggested JDOM2 improvements
Michael Kay <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
>public XPathCompiled<Object> compile(String xpath); I started introducing generics for this in Saxon 9.4 and the experience wasn't wholly positive; it left a lot of cases where there were warnings that needed to be ignored. That may be because I found generics to be deeper and more bewildering than I expected. It's not at all clear to me how your types such as XPathCompiled<Element> are supposed to work. Do they rely excessively on the ability of the XPath engine to do static type analysis of the supplied expression? Michael Kay Saxonica _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]