Re: [HELP!] HSSFSerializer and XSLTransformer doesn't work together (2nd)

2004-08-21 Thread bernhard huber
hi, playing around using: ?xml version=1.0 encoding=ISO-8859-1? search-result xmlns:sql=http://apache.org/cocoon/SQL/2.0; !-- The result of the search goes here... -- content sql:rowset sql:row foobar1/foo /sql:row sql:row

Re: Request headers

2004-07-26 Thread bernhard huber
hi, what about using this kind of snippet? map:select type=header map:parameter name=header-name value=accept/ map:when test=application/xhtml+xml ... /map:when map:otherwise ... /map:otherwise /map:select you may want to read the wiki, too, see

Re: Request headers

2004-07-26 Thread bernhard huber
Ugo Colin Paul Adams wrote: pattern name=xhtml^.*application/xhtml\+xml.*$/pattern Ugo Wouldn't Ugo pattern name=xhtmlapplication/xhtml\+xml/pattern Ugo have the same effect? I think it should. Yes - it does. I was checking the header accept sent by mozilla, it

Re: Request headers

2004-07-26 Thread bernhard huber
How do I run the test case? you have to options 1 - run build test runs all testcases, this shall run your test, too. You may want to adopt tools/targets/test-build.xml, target junit-tests decreasing the number of testcases 2 - your IDE allows to run a single the testcase, or single main-class

Re: Request headers

2004-07-26 Thread bernhard huber
How do I run the test case? bernhard you have to options bernhard 1 - run build test runs all testcases, this shall run bernhard your test, too. I'm getting there. But one thing I can't work - out - and that is where I define the selector for the test. I think it

Re: Mock objects

2004-07-23 Thread bernhard huber
hi, snip/ What I am asking here is whether someone has experience with the above mentioned frameworks and feels like suggesting one over the other, or maybe a third alternative. i don't have experience using any of the two frameworks, but there is an comparision

[BUG] PreparedVariableResolverTestCase

2004-07-17 Thread bernhard huber
hi, the testcase PreparedVariableResolverTestCase.testEscapedBraces fails. I have the suscpesion that the PreparedVariableResolver escapes only the opening-brace, not the closing brace. Thus the java-string This is a \\{brace\\}, is escaped to java-string This is a {brace\\}, and not to This is

Re: ispell transformer?

2004-07-14 Thread bernhard huber
hi, i need spellchecking facilities in a project and was wondering if anyone had considered doing a ispell transformer? we might end up creating one, but i wanted to get a feel for what is out there first. as much as i oversee the blocks, and scratchpad area there is no spell check

Re: JDK 1.3.1 compatibility for cvs-head

2004-07-07 Thread bernhard huber
BTW, anyone knows of any good tool who can generate SHITLOADS of requests simulating real traffic (maybe from a log file or something like it). i tried once grinder from sourceforge, it is able to record your clicking, and replay. You can control the number of processes, and number of

Re: Is there a way to revert to the old store?

2004-07-07 Thread bernhard huber
Guys, I'm seeing some problems on 2.1.5 and 2.2 which don't happen on 2.1.5-dev. I am guessing that something is wrong with the new JCS-based store... Is there a way to revert back without re-implementing the whole thing? running some tests i had following experiences A B 100

junit tests

2004-07-04 Thread bernhard huber
hi, i have committed some more junit tests for cocoon core components. The committed junit tests are * ParameterMatcher.java * PreparableMatcher.java * RegexpURIMatcher.java * RequestAttributeMatcher.java * RequestParameterMatcher.java * SessionAttributeMatcher.java * WildcardURIMatcher.java *

Re: Cocoon Stack Traces

2004-01-12 Thread bernhard huber
hi, snip/ Great idea, i was thinking about doing some sort of sitemap debugging, please keep in mind that output is not solely system.out but some sort of UI, perhaps to give some idea, the servlet, or command line might be replaced by ui see http://meineseite.one.at/bh22351/cocoonbean-3.png, or

Re: [HEADSUP] Cocoon Ant Task

2004-01-06 Thread bernhard huber
hi snip/ i haven't tested the ant stuff right now, but i use the CocoonBean for launching Cocoon from some GUI, the GUI enables editing a cli.xconf file, and CocoonBean is launched from the GUI. Is it public or closed source? I'd like to see it. It will be public, not determined

Re: [HEADSUP] Cocoon Ant Task

2003-12-29 Thread bernhard huber
Hi, snip/ i haven't tested the ant stuff right now, but i use the CocoonBean for launching Cocoon from some GUI, the GUI enables editing a cli.xconf file, and CocoonBean is launched from the GUI. Is it public or closed source? I'd like to see it. It will be public, not determined the exact

Re: [HEADSUP] Cocoon Ant Task

2003-12-28 Thread bernhard huber
Hi, great work! i haven't tested the ant stuff right now, but i use the CocoonBean for launching Cocoon from some GUI, the GUI enables editing a cli.xconf file, and CocoonBean is launched from the GUI. I'm not finished yet with the GUI, as adding the new uris, and uri features to the GUI. Just

Re: Speeding up Cocoon start at runtime?

2003-12-20 Thread bernhard huber
hi, snip/ D:\src\cocoon-2.1\src\blocks\mail\java\org\apache\cocoon\mail\MailContentHandlerDelegate.java:384: cannot resolve symbol symbol : method getDeletedMessageCount () location: class javax.mail.Folder addAttribute(deleted-messages, String.valueOf(folder.getDelet

Re: Speeding up Cocoon start at runtime?

2003-12-20 Thread bernhard huber
hi, as far as i understand your posted log: javadoc fails due to memory shortage, you might want to exclude javadoc generation in the block.properties, or local.block.properties, failing build test is due to missing midi-jars, again edit the block.properties, or local.block.properties disabling

Re: [Bug 24319] Template-based web site

2003-12-17 Thread bernhard huber
hi, My reasoning is that Cocoon seems to have a hard time maintaining the existing xdocs. If we duplicate some of that content, then that makes it even harder. If some people are committed to keeping this template-based web site in sync, then all is okay. hmm i see, perhaps we might come

Re: [Bug 24319] Template-based web site

2003-12-16 Thread bernhard huber
hi, I am not real happy about the content being a copy from some Cocoon xdocs. This will create a maintenance nightmare. Why do forsee a maintenance nightmare? Do I miss something? regards bernhard -- +++ GMX - die erste Adresse für Mail, Message, More +++ Neu: Preissenkung für MMS und

Re: Accessing cache validities from flow

2003-12-16 Thread bernhard huber
hi, snip/ Now, the way the event cache works is like this: a) a cache validity is generated b) pipeline is executed c) result is stored in the cache then the pipeline is never called, until an event is triggered externally (from an avalon component) that invalidates that

Re: Moved ParanoidCocoonServlet to its own block

2003-12-12 Thread bernhard huber
hi, I moved the ParanoidCocoonServlet and associated classes to a new paranoid block? i checked out from CVS; running build, complains about missing src/blocks/paranoid/conf solution: created directory conf, maybe you have forgotton to add conf? regards bernhard -- +++ GMX - die erste

Re: cvs commit: cocoon-2.1/lib/core excalibur-component-20031126.jar excalibur-store-1.0-dev.jar

2003-12-12 Thread bernhard huber
hi, -libcore/excalibur-component-20031126.jar/lib +libcore/excalibur-component-20031211.jar/lib If you have access to the excalibur repository, can please add the patch from http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16446 Currently the testcases test nothing

Re: [announce] test documentation

2003-12-11 Thread bernhard huber
hi, Welcome home Bernhard, nice to see you back here. yup, i was a bit busy at work BTW, is there a way to just run individual tests, or does 'build test' need to just run them all. well, if you want to edit tool/targets/test-build.xml, adopting the target junit-tests, and

[announce] test documentation

2003-12-10 Thread bernhard huber
hi, i'd like to commit this week junit tests for following transformers: AugmentTransformerTestCase.java CIncludeTransformerTestCase.java EncodeURLTransformerTestCase.java FilterTransformerTestCase.java I18NTransformerTestCase.java XIncludeTransformerTestCase.java as there is already a nice