Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 82496 invoked by uid 500); 30 Jul 2002 10:47:44 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 82483 invoked from network); 30 Jul 2002 10:47:43 -0000 Received: from www2.kc.aoindustries.com (209.15.201.84) by daedalus.apache.org with SMTP; 30 Jul 2002 10:47:43 -0000 Received: from ROSINANTE (stat88-26.adsl.xs4all.be [195.144.88.26]) by www2.kc.aoindustries.com (8.11.6/8.11.0) with SMTP id g6UAlgI06755 for ; Tue, 30 Jul 2002 05:47:42 -0500 From: "Marc Portier" To: Subject: RE: [Fwd: invitation to check out dbdoc/ashkelon] Date: Tue, 30 Jul 2002 12:47:40 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 430 I do take this serious, and if a melting brain helps you think like this: go visit the sauna! we actually had goes at this in the past... (we (!=me, was slightly known to the project, could get a hold of sources again though) used some layer on top op javacc: jtb IIRC?) line of thinking today would be along the lines of - finding a standard ML for the Java code: http://www.cs.washington.edu/homes/gjb/JavaML/ ? - take a look at what alphaworks has here http://www.alphaworks.ibm.com/tech/ret4j on the other hand, if I think about the more front-line-publishing approach we have here @forrest we should think more about parsing it to enrich publication (highlighting) then to parse it for understanding each detail in the code (i.e. where your example is heading to: that would be more interesting when building a repository like dbdoc is doing ) [if nothing else the highlight only approach should be easier) so the use case for forrest would rather be something allong these lines: inside e.g. the document-v11.dtd we could let the hava a @language and/or @file <[CDATA[ content ]]> package mypack.test; import java.io.*; //well... public interface WhatDoYaThink { public static final String SOME = "RIGHT"; } so a source-code-highlighting transformer would be able to parse the contents and put out the with nested tags to indicate the language-independant, but rather higlight-directed portions that any language knows about: literals, keywords, comment, names,... >example att="4"< content >!-- and comment --< >/example package mypack.test; import java.io.*; //well... public interface WhatDoYaThink { public static final String SOME = "RIGHT"; } wondering if we could use the XNI interface of xerces to have it parse this kind of content? does anyone know how multi-type editors (like vim) and the like do this? and I also guess preserving the space will be a chalenge... -marc= > -----Original Message----- > From: Piroumian Konstantin [mailto:KPiroumian@protek.com] > Sent: dinsdag 30 juli 2002 12:09 > To: 'forrest-dev@xml.apache.org' > Subject: RE: [Fwd: invitation to check out dbdoc/ashkelon] > > > > From: Steven Noels [mailto:stevenn@outerthought.org] > > > > fyi - looks cool > > Yes, gives a feeling of something cool, but rather unusual. > > On the page the common mistake is made: the background color is > not set and > I get grey pages with images on white background ;) > > I've been recently thinking about (Java | XML) source code > highlighting with > Cocoon. A crazy idea came: generate an XML from Java source and then > transform it using a stylesheet, e.g.: > > org.apache.cocoon.* > name="MyCoolClass" extends="java.lang.Object"> > java.io.Serializable > > name="cool" /> > > > > > this.cool = > cool; > ... > > > > > > Don't get this serious, it's really hot here and my brain is melting ;) > > Konstantin > > > > > -------- Original Message -------- > > Subject: invitation to check out dbdoc/ashkelon > > Date: Mon, 29 Jul 2002 22:36:13 -0500 > > From: "Eitan Suez" > > Reply-To: "Jakarta General List" > > To: > > > > dear jakarata'ers, > > > > a few months back i posted a message about a project > > i was working on called dbdoc (not that i expect > > anyone to recall the post). at that time, i was still > > mulling open-sourcing the app. the feedback i got > > from several of you was very positive (jon, i am > > very proud of the fact that you once called it > > 'very cool softare'). > > > > dbdoc is now open source project 'ashkelon' at > > sourceforge.net. there's an article currently out > > that discusses the technical aspects of dbdoc on the > > sun site (at http://java.sun.com/ ). dbdoc still needs a lot > > of work but i'm glad it seems to be gathering > > a little momentum in terms of persons interested > > in spending their spare time contributing to the > > code base. > > > > ashkelon is basically a different way of compiling > > and serving javadocs that leverages a sql database > > (like mysql or oracle) and dynamic page serving > > systems. the viewer app currently has two gui's: > > > > - a modern dhtml gui that now works in both > > ie 5.x & 6.x and mozilla 1.x > > - a "classic" look & feel that mimics the javadoc > > style we all know and love > > > > the main reason i started and pursued this project > > is a rooted belief that there's value to the community > > in having a multi-api java api documentation system. > > i think lots can be done with it (after it's made > > more robust and better integrated with other jakarta > > api's) such as having a central site for java developers > > to reference javadocs for many popular open-source api's > > (i.e. apache). > > > > i invite you to download or just try out dbdoc at > > www.dbdoc.org and look forward to your input (good & > > bad). > > > > > > thanks, eitan > > > > (eitan suez > > austin texas) > > > > > > > > > > -- > > To unsubscribe, e-mail: > > > > For > > additional commands, e-mail: > > > > > > -- > > Steven Noels http://outerthought.org/ > > Outerthought - Open Source, Java & XML Competence Support Center > > stevenn@outerthought.org stevenn@apache.org > > >