[GUMP@brutus]: cocoon-2.1/cocoon failed

2004-07-26 Thread Gump
/public/workspace/cocoon-2.1/build/cocoon-20040726/test] -INFO- Enable verbose output, due to 1 previous error(s). -INFO- Failed with reason build failed -INFO- Enable debug output, due to build failure. -INFO- Project Reports in: /usr/local/gump/public/workspace/cocoon-2.1/build/cocoon-20040726

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 Colin Paul Adams
Bernhard == bernhard huber [EMAIL PROTECTED] writes: Bernhard hi, what about using this kind of snippet? Bernhard map:select type=header map:parameter Bernhard name=header-name value=accept/ map:when Bernhard test=application/xhtml+xml ... /map:when Bernhard map:otherwise

Re: Request headers

2004-07-26 Thread Colin Paul Adams
Colin == Colin Paul Adams [EMAIL PROTECTED] writes: Colin I think I'll write a RegexpHeaderSelector. I've done this, and it works to the limit of my testing - namely one example: map:selector name=content-type src=org.apache.cocoon.selection.RegexpHeaderSelector pattern

Re: Request headers

2004-07-26 Thread Ugo Cei
Colin Paul Adams wrote: pattern name=xhtml^.*application/xhtml\+xml.*$/pattern Wouldn't pattern name=xhtmlapplication/xhtml\+xml/pattern have the same effect? I think it should. This I think is useful. How can I contribute it to Cocoon (I've only written the java class - I don't know

Re: Request headers

2004-07-26 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Colin Paul Adams wrote: pattern name=xhtml^.*application/xhtml\+xml.*$/pattern Ugo Wouldn't Ugopattern name=xhtmlapplication/xhtml\+xml/pattern Ugo have the same effect? I think it should. Yes - it does. This I

DO NOT REPLY [Bug 24402] - [PATCH] XML posting from SourceWritingTransformer by using an enhanced HTTPClientSource

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24402. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 24402] - [PATCH] XML posting from SourceWritingTransformer by using an enhanced HTTPClientSource

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=24402. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Request headers

2004-07-26 Thread Ugo Cei
Colin Paul Adams wrote: Ugo It would be nice if you could provide unit tests for the Ugo selector, too :-). Well, you'll have to tell me what this involves. Take inspiration from src/test/org/apache/cocoon/selection/HeaderSelectorTestCase.java for instance. Ugo

DO NOT REPLY [Bug 30321] New: - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 30321] - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

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

DO NOT REPLY [Bug 30321] - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 30321] - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 30321] - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Calling web services from Cocoon

2004-07-26 Thread Daniel Fagerstrom
Hi Morley, I answer at Cocoon-dev as others might be interested. AFAIK there are no current prefered method for calling web-services. I and my colleagues, use the extended SourceWritingTransformer (SWT) and org.apache.excalibur.source.impl.HTTPClientSource that you can find in

DO NOT REPLY [Bug 30321] - Added RegexpHeaderSelector

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Bugzilla not available

2004-07-26 Thread Colin Paul Adams
I can't reach issues.apache.org. -- Colin Paul Adams Preston Lancashire

Re: Request headers

2004-07-26 Thread Colin Paul Adams
bernhard == bernhard huber [EMAIL PROTECTED] writes: bernhard Copy HeaderSelectorTestCase.java to bernhard RegexpHeaderSelectorTestCase.java, dito for bernhard RegexpHeaderSelectorTestCase.xtest. Adopt bernhard RegexpHeaderSelectorTestCase.xtest replacing all bernhard

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 Colin Paul Adams
bernhard == bernhard huber [EMAIL PROTECTED] writes: 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

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

DO NOT REPLY [Bug 30326] New: - [Patch] - ScriptableConnection doesn't cleanup SQL Resources

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30326. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 30326] - [Patch] - ScriptableConnection doesn't cleanup SQL Resources

2004-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30326. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Request headers

2004-07-26 Thread Ugo Cei
Il giorno 26/lug/04, alle 15:53, bernhard huber ha scritto: 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

Re: Request headers

2004-07-26 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 26/lug/04, alle 15:53, bernhard huber ha scritto: Ugo Colin Paul Adams wrote: pattern name=xhtml^.*application/xhtml\+xml.*$/pattern Ugo Wouldn't pattern Ugo name=xhtmlapplication/xhtml\+xml/pattern have the same Ugo