DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13106

Abbreviated syntax for Java extensions no longer works





------- Additional Comments From [EMAIL PROTECTED]  2002-09-30 16:24 -------
The full code is open source and hosted on SourceForge.net.  You can browse at:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/depfind/DependencyFinder/

Sorry to send you fishing, but I didn't want to clutter this description with 
embedded code files.  The stylesheet is actually pretty large and I even ran 
into XPath expression length limitation in the past (see bug #5046).

Validator and ListBasedValidator are under src/com/jeantessier/diff.  Validator 
is a interface for four queries.  ListBasedValidator reads strings from a file 
and uses them to answer the queries.  The format of the text file is somewhat 
described in http://depfind.sourceforge.net/Journal.html under "September 15, 
2002".  You don't need any of the other classes to make these two work.

The stylesheet is etc/PublishedDiffToHTML.xsl.  The script I use to run it is 
bin/PublishedDiffToHTML.bat.  It takes XML information describing changes to an 
API and filters out changes on private or package-level classes, interfaces, 
methods, or fields.  You can optionaly supply a list of packages, classes, 
interfaces, constructors, methods, and fields and only those listed will be 
reported upon.  The stylesheet instantiates a ListBasedValidator and then makes 
calls on the object through the Validator interface.  This was, if I ever 
change the implentation to use another source of info, I only need to change 
two lines in the stylesheet.

Let me know if you need anything else.  I tried to walk through the code, and 
it seemed to me that the ExtensionTable does not get filled properly when using 
the abbreviated notation.  Just a thought.

Reply via email to