[jira] Created: (COCOON-1909) Cache validity of XSLT stylesheets does not reflect included or imported stylesheets.

2006-09-05 Thread Conal Tuohy (JIRA)
Project: Cocoon Issue Type: Bug Components: - Components: Sitemap Affects Versions: 2.1.9 Reporter: Conal Tuohy XSLT stylesheets which either import or include other stylesheets are cached too aggressively: if you change an imported or included stylesheet

[jira] Created: (COCOON-1880) [PATCH] Allow LuceneIndexTransformer to index large documents (with more than 10k terms)

2006-07-12 Thread Conal Tuohy (JIRA)
Type: Bug Components: Blocks: Lucene Versions: 2.1.8, 2.1.9 Reporter: Conal Tuohy The LuceneIndexTransformer did not provide a way to over-ride the default maxFieldLength value of a Lucene IndexWriter. Since the default value is 10k, this means that large documents can

[jira] Updated: (COCOON-1880) [PATCH] Allow LuceneIndexTransformer to index large documents (with more than 10k terms)

2006-07-12 Thread Conal Tuohy (JIRA)
[ http://issues.apache.org/jira/browse/COCOON-1880?page=all ] Conal Tuohy updated COCOON-1880: Attachment: LuceneIndexTransformer.diff The patch adds the facility to set a max-field-length parameter, in the same way as all the other parameters. Also

RE: Document publishing worklow (was Re: Expert pre-defined/community post-defined?)

2005-05-12 Thread Conal Tuohy
Ross Gardler wrote: Stefano Mazzocchi wrote: I like the notion of daisy - forrest - out makes very good sense. Now we just need to find a way to automate a little that workflow, but without introducing security vulnerabilities. How about this (bullet summaries

RE: [RT] CTemplate

2005-02-27 Thread Conal Tuohy
Glen Ezkovich wrote: You seem to be assuming this is a global configuration issue. If I were to make this configurable I would do it on template by template basis, since it seems that in the general case this would not be necessary but in a special case it might be expedient. Once you

RE: Version $Id$ style for xml files (Was: SVN behaviour with Id keyword)

2005-02-01 Thread Conal Tuohy
Tim Larson wrote: As part of my effort to keep whiteboard/forms mergeable, I am fixing a bunch of Id's and ran across a minor issue. How do we want to mark the version in xml files? There is quite a variety+possibilities: CVS $Id$ SVN $Id$ !--+ | $Id$ +--

RE: Version $Id$ style for xml files (Was: SVN behaviour with Id keyword)

2005-02-01 Thread Conal Tuohy
Tim Larson wrote: On Wed, Feb 02, 2005 at 10:35:03AM +1300, Conal Tuohy wrote: Tim Larson wrote: As part of my effort to keep whiteboard/forms mergeable, snip/ Could we pick a style, and then I will make the files I happen to touch match it? What about a processing instruction

RE: sitemap, jx and flow design (was: servicemanager and jxtg)

2005-01-25 Thread Conal Tuohy
Daniel Fagerstrom wrote: Instruction Inclusion = Now for the instructions (jx:forEach etc) we have the question if they should be choosed: 1. Programatically: There is an abstract base class with common template generator functionality. To implement e.g. JXTG

RE: [RT] Escaping Sitemap Hell

2005-01-07 Thread Conal Tuohy
Il giorno 06/gen/05, alle 01:54, Daniel Fagerstrom ha scritto: * where repository:{1}.x.y.z exists == XYZPipeline We get the right pipeline by querying the repository instead of encoding it in the URL. A further advantage is that the rule becomes listable as the where clause in the

RE: Templating: experiments with Conal's html-to-xslt transform

2004-12-10 Thread Conal Tuohy
Bertrand wrote: For me, the template author just wants to say all table elements must be copied with border=1 added, but he has no idea in which order the elements will appear in the source, and shouldn't have to care. Does your for-each syntax allow this? I think it requires declarative

RE: JXTG: invoke macro by name from expression

2004-12-08 Thread Conal Tuohy
Leszek Gawron wrote: I would like to add one feature to JXTG that would allow not to promote hacks like [1]. Example: jx:macro name=fooBar somecontent/some /jx:macro you can only invoke it by fooBar/ If I were able to do jx:invoke macro=fooBar/ I would be able to pass macro

RE: [RT] Attribute Driven Templates

2004-12-07 Thread Conal Tuohy
Le 7 déc. 04, à 18:54, Sylvain Wallez a écrit : ...(hearing Stefano coming behind me, ready to shout FS!!! in my ears...) Nahh...his detector exploded yesterday, don't worry. ...Now going back to the annotated-HTML-to-XSL compiler that we (Anyware) wrote many years ago, it allows

RE: [Design] JXTG 2.0 (Just say yes!)

2004-12-02 Thread Conal Tuohy
Miles wrote: One concern though: Is that results variable a result set or just a collection of data. If the former, how is the database connection handled (closing or returning to the pool)? If the latter, how can large result sets be returned without exhausting memory from a few

RE: Templating Engine - Next steps?

2004-11-01 Thread Conal Tuohy
Coincidentally I'm just starting work on a templater too. I have been using JXTemplate and I really like it, but a few things have frustrated me about it, too. Perhaps it's unusual, but I really like it BECAUSE it's like XSLT, and I don't mind at all that it's not like Java. The things I don't

RE: [RT] doco lite?

2004-10-26 Thread Conal Tuohy
Jorg Heymans wrote: 2)Should any effort towards documentation ATM go into improving its *quality* or improving its {searchability|updateability|scaleability|auto-generateability} WDYT? Personally, I think that Cocoon has a lot of good documentation, but poorly/inconsistently organised.

svn repository

2004-10-17 Thread Conal Tuohy
the URL: http://svn.apache.org/ The following error was encountered: * Zero Sized Reply Squid did not receive any data for this request. -- Conal Tuohy

RE: svn repository

2004-10-17 Thread Conal Tuohy
/branches/BRANCH_2_1_X Conal Tuohy wrote: I can't access the SVN repository at http://svn.apache.org/ - or am I looking in the wrong place? I'm accessing it through a proxy, so it's hard to say exactly what happens, but my proxy reports a zero-length response: ERROR The requested URL

RE: FIXME in IncludeTransformer [Was: Re: Adding Files to Subversion]

2004-09-27 Thread Conal Tuohy
Pier Fumagalli wrote: I was thinking about one thing... The one thing that troubles us is the request. That introduce a degree of variability that (i don't know to what degree), might be counter-productive to analyze and cache... What about if we were doing subrequests, much like in

RE: Custom extensions - to be made available if possible

2004-09-10 Thread Conal Tuohy
Antonio Fiol Bonnin wrote: Thank you, Con, for your very interesting point of view. We were working on (a) but I have told my team that we will be changing approach in one hour if they do not see a clear end. Other than that, I will look into pdftohtml (is it really html?).

RE: Custom extensions - to be made available if possible

2004-09-10 Thread Conal Tuohy
Stefano Mazzocchi wrote: What about using XSL:FO? Would be pretty cool to have the ability to transform PDF into FO, basically reversing what FOP does. I know it would be pretty painful to make it work with all kinds of PDF, but for reasonable ones it shouldn't be that hard (PDF is sort of a

RE: Custom extensions - to be made available if possible

2004-09-09 Thread Conal Tuohy
Antonio Fiol Bonnín wrote: a) Refactoring SimpleLuceneXMLIndexerImpl so that its private method indexDocument is not private, and taking it to an external component. b) Creating a PDFGenerator (in the cocoon sense of generator, of course). Option (a) seems to be giving us more headaches

RE: accessing the pipeline structure

2004-09-09 Thread Conal Tuohy
Jorg Heymans wrote: Recently there were 2 requests on the users list about accessing the current pipeline structure. snip/ Having this extra metadata would allow for components that can produce different output depending on how they are used in a pipeline (but this probably breaks a

RE: why JXTG sucks? was: FreeMarker integration

2004-08-11 Thread Conal Tuohy
-Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED] assume you have a collection of Projects. Each project has a project.description property. This property contains a string that can be parsed by a wiki parser and generate html out of it. How would you implement

RE: why JXTG sucks? was: FreeMarker integration

2004-08-11 Thread Conal Tuohy
-Original Message- From: Leszek Gawron My question is: why do you call a wiki parser a model aspect if in my example I have to pass it for EVERY model? It looks more like a view plugin really. Where should you draw the line between model and view? In the case of JXTG, it is

RE: [RT] A Groovy Kind of Sitemap

2004-07-28 Thread Conal Tuohy
Peter Hunsberger wrote: As others have said, one needs to step back and look at the overall objective: what do you want Cocoon to do when you feed it a request (either via http or CLI or whatever)? Figure out all the high level use cases and their interactions, step back, generalize and

RE: [RT] A Groovy Kind of Sitemap

2004-07-28 Thread Conal Tuohy
Stefano wrote: Conal Tuohy wrote: It's [XML sitemap syntax] also potentially useful for validation. Nop, wrong. There is no XMl validation language that can tell you if the sitemap is valid from a cocoon-logic point of view (for example there is no class file name datatype

RE: [RT] A Groovy Kind of Sitemap

2004-07-28 Thread Conal Tuohy
Stefano Mazzocchi wrote: without java and flow, the sitemap is far from being turing complete. Well ... this is getting off the topic of the thread, but actually I don't think is true. Maybe you are forgetting that you have recursion with the cocoon: protcol. With URI matchers and selectors I

RE: [RT] A Groovy Kind of Sitemap

2004-07-27 Thread Conal Tuohy
Stefano wrote: The XML syntax makes sense only when you want to process the sitemap iteself via pipeline (for example, to generate an SVG poster of it via XSLT) And makes sense if you want to prevent people from adding scripting inside the pipelines (well, actions are kinda like

RE: Sitemap versionning in TreeProcessor?

2004-07-16 Thread Conal Tuohy
Carsten Ziegeler wrote: A long time ago, we agreed that if we change the sitemap syntax, we will change the version number of the sitemap namespace. Is it really necessary to change the xml namespace? How does this help developers? If it's just a matter of being able to identify the version

RE: [chaperon] [patch] .cwiki improvements

2004-04-28 Thread Conal Tuohy
Dave Brondsema wrote: Note: the regex used in the 'spacify' template doesn't work. How can I make the replace() function work? Since it gives an error about the function not being found, I haven't tested the regex either: it's supposed to put a space in before capital letters (except for

RE: [chaperon] [patch] .cwiki improvements

2004-04-28 Thread Conal Tuohy
Dave Brondsema wrote: Note: the regex used in the 'spacify' template doesn't work. How can I make the replace() function work? Since it gives an error about the function not being found, I haven't tested the regex either: it's supposed to put a space in before capital letters (except for

RE: [chaperon] [patch] .cwiki improvements

2004-04-28 Thread Conal Tuohy
Dave Brondsema wrote: Note: the regex used in the 'spacify' template doesn't work. How can I make the replace() function work? Since it gives an error about the function not being found, I haven't tested the regex either: it's supposed to put a space in before capital letters (except for

RE: JXTG jx:attribute

2004-04-25 Thread Conal Tuohy
On Sat, Apr 24, 2004 at 04:51:35PM -0700, Christopher Oliver wrote: foo jx:attribute name=bar namespace=http://www.bar.org; value=${bar}/ jx:if test={$fubaz 1} jx:attribute name=xyz value=100/ /jx:if jx:forEach var=item items=${items}/ jx:attribute

@author tags (WAS: RE: ASF Board Summary for February 18, 2004)

2004-02-26 Thread Conal Tuohy
I agree with Antonio about the utility of @author tags (I have also found them very useful), and I also think that the ASF board's concerns about the dangers of ownership are probably overblown. I don't think the ASF should discourage developers from keeping useful metadata about the code

RE: Cleaning up unused namespace declaration

2004-02-08 Thread Conal Tuohy
I don't know if you can configure the xml serializer to drop a namespace (seems unlikely, because such namespace might not be used until the end of the document, for all the serializer knows, so it wouldn't be safe without buffering the entire output document to check). But typically you should

RE: Cleaning up unused namespace declaration

2004-02-08 Thread Conal Tuohy
:18 To: [EMAIL PROTECTED] Subject: Re: Cleaning up unused namespace declaration On 8 Feb 2004, at 21:37, Conal Tuohy wrote: I don't know if you can configure the xml serializer to drop a namespace (seems unlikely, because such namespace might not be used until the end

RE: Future of XSP and ESQL [was Re: An idea - transformer logicsheets.]

2004-02-01 Thread Conal Tuohy
Stefano Mazzocchi wrote: snip/ I think that the ESQL logicsheet is the only really valuable and unique thing that we have in XSP, so, yeah, I totally understand your concern. Ryan Hoegg wrote: Why not pull the ESQL stuff out and provide a stripped down ESQLTransformer? I haven't

RE: Another attempt at wrapping code lines

2003-11-14 Thread Conal Tuohy
Hi Sylvain I've checked out your new attempt docnbsp.xsl and compared with the other approaches in the text-wrap sample. Your attempt is definitely superior to the current approach (no special handling in the sample) implemented by raw.xsl, which uses just HTML pre. The raw.xsl often leads to

RE: Another attempt at wrapping code lines

2003-11-14 Thread Conal Tuohy
-Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Saturday, 15 November 2003 04:57 To: [EMAIL PROTECTED] Subject: Another attempt at wrapping code lines snip/ I tried to find a CSS trick to add a mark at the beginning of a continuation line, but CSS only has

RE: [PATCH] docs pages containing source are sometimes too wide

2003-11-09 Thread Conal Tuohy
First I want to say thanks to David for putting the text-wrap sample together. --- Additional Comments From [EMAIL PROTECTED] 2003-11-09 01:58 --- Sorry for being destructive, but I do not see a real problem. Or better said this problem resulting from trying to handle all types of

RE: Tabs on Cocoon site

2003-10-17 Thread Conal Tuohy
Konstantin Piroumian wrote: Had a look at the updated Cocoon site and it is great to see that the layout is now displayed correctly in IE. Though, I don't quite understand why the left menu is still that overcrowded while we have a nice possibility in Forrest to group related items into

RE: [RT] Improved navigation of learning objects

2003-10-14 Thread Conal Tuohy
Stefano wrote: automatic harvesting scares the crap out of me, Conal. This is conceptually no different to harvesting JavaDoc tags from Java source. I agree that there must be some kind of automatism going on, but the topic creation is a human task and programs would do a terrible job at

RE: [RT] Improved navigation of learning objects

2003-10-14 Thread Conal Tuohy
Nicola Ken Barozzi wrote: We will probably be moving the Forrest DTD to XHTML2 in one of the next things to do. As you know, there are meta tags that are a nice way of adding additional info in the page. http://academ.hvcc.edu/~kantopet/xhtml/index.php?page=xhtml+me ta+content

RE: [RT] Improved navigation of learning objects

2003-10-14 Thread Conal Tuohy
Stefano Mazzocchi wrote: I agree that there must be some kind of automatism going on, but the topic creation is a human task and programs would do a terrible job at doing this. The example I gave assumed precisely that a human editor had written a namespace topic; the harvester

RE: [RT] Improved navigation of learning objects

2003-10-13 Thread Conal Tuohy
Bertrand Delacretaz wrote: Some form of topic map would be useful to build what's related info though, which helps navigation and discovery a lot. Stefano Mazzocchi wrote: Yes, but such a topic maps would have to be human edited. this is what scares me. tools for ontology creation (like

RE: DirectoryGenerator

2003-10-02 Thread Conal Tuohy
Hi Alfred Alfred Fuchs wrote: Conal Tuohy wrote: [...] Alternatively, if it really is necessary to call back another pipeline, what about using a generic transformer like the XIncludeTransformer? I will explain, what I want to do: (1) I have a website with a topic actual

RE: DirectoryGenerator

2003-10-01 Thread Conal Tuohy
Alfred Fuchs wrote: in my expamle I extract the title of a HTML page in this way: if title exist and title not empty, use it as title. otherwise use the first h1 etc... this is logic, simply done in a xslt, but hoe to do this in a single xpath-query?

RE: Related Documents, MapTransformer and Topic Maps

2003-10-01 Thread Conal Tuohy
Rogier Peters wrote: snip/ Googleing xml and relations quickly brought me another subject that I haven't seen discussed much here - XML topic maps. On of the big advantages of topic maps over my simple mapping is the amount of semantics that topic maps allow. Topic maps allow one thing to be

RE: DirectoryGenerator

2003-10-01 Thread Conal Tuohy
Peter Hunsberger wrote: Conal Tuohy [EMAIL PROTECTED] wrote: string(/html/head/title[normalize-space()]|/html/body//h1[1]) The string() function returns the string value of the FIRST NODE in the resulting nodeset. Ahh, that would do the trick. I believe in some old implementations

RE: [RT] Improving Views

2003-08-20 Thread Conal Tuohy
Sylvain Wallez wrote: Relating this to the newly introduced virtual components, we can consider the view definition as a virtual serializer. Example : map:serializers map:serializer type=xml src=oacs.XMLSerializer/ map:serializer type=pretty-xml map:transform type=xslt

RE: [RT] Webdavapps with Cocoon

2003-07-29 Thread Conal Tuohy
Stefano wrote: If I have a resource like http://blah.com/news/ and I want to edit, I could ask for http://blah.com:/news/ http://edit.blah.com/news/ http://blah.com/news/?view=edit; which are all 'orthogonal' ways of asking a different view of the same resource

RE: Recent changes to LuceneIndexTransformer

2003-07-27 Thread Conal Tuohy
Carsten wrote: After the last changes to LuceneIndexTransformer, a fragment of the code looks like this: if (analyzerClassname == null) analyzerClassname = this.analyzerClassname; String sMergeFactor =

RE: [Vote] Controller/Sitemap integration

2003-07-19 Thread Conal Tuohy
Stephan Michels wrote: map:pipeline [...] map:continue type=petshop id={1}/ [...] /map:pipeline I think it's a potential source of confusion to have id attributes which are not of type ID (i.e. they are not unique identifiers of elements in the sitemap). Of course, I realise that id is

RE: [Vote] Controller/Sitemap integration

2003-07-16 Thread Conal Tuohy
Marc Portier wrote: The following might seem like nagging but I do share Sylvain's eagerness to get names really right, so I'm wide open for other alternatives and views... I don't have a vote either :-) but I agree - names are a very important detail, so I'll stick my nose in... [C] A