/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
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
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
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
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
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 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 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.
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 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 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.
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 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 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 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.
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 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.
I can't reach issues.apache.org.
--
Colin Paul Adams
Preston Lancashire
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
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
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
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 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 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.
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
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
26 matches
Mail list logo