Looks like the same idea, using the JavaML DTD is definitely worth
considering. Just from scanning over is quickly it looks like he's hacked
Jikes to output XML as it's parsing the Java code. This probably generates
XML quite quickly, but I'd prefer to use a pure Java implementation as it
makes things like linking it straight into things like Xalan possible. It
should be possible to create a Cocoon generator to do transformations on the
fly.
> -----Original Message-----
> From: Nick Chalko [mailto:[EMAIL PROTECTED]]
> Sent: 18 April 2001 19:19
> To: '[EMAIL PROTECTED]'
> Subject: RE: JXR2
>
>
> Check out JavaML at
> http://www-106.ibm.com/developerworks/java/library/javaml/index.html
> this may be an easier way to generate the sax events.
> R,
> Nick
>
> -----Original Message-----
> From: Jeff Martin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 10:28 AM
> To: Alexandria-Dev (E-mail)
> Subject: JXR2
>
>
> I've just checked in a proposal for the next version of JXR.
> Basically, I'm
> not happy with some of the internals of JXR and want to move
> it to an event
> based system. Also I'm to lazy to write a java parser so I
> think that using
> something like ANTLR is a good idea.
>
> Following on from the idea of an event based model it struck
> me that there's
> already a fairly good system for handling even based tree
> info (Java source
> files can be looked at as trees) and that's SAX. So the code
> I've got here
> generates SAX events from a Java source file, it's then
> should be possible
> to apply XSL style sheets to them to view the code in
> different ways e.g.
> Javadoc or JXR style. It also seems like quite a good way of
> handling things
> like metrics as people can write DocumentHandlers to listen
> to documents and
> then generate metrics.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]