DO NOT REPLY [Bug 36162] - Possible Memory Leak with LinkRewriterTransformer

2005-08-14 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=36162.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36162





--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 11:26 ---
I am not very familiar with Cocoons internals, the changes I made are just a
quick workaround, and probably not very cocoonish.  
Maybe XMLFileModule should not keep references to the DocumentHelpers, maybe
LinkRewriterTransformer should use a new InputModuleHelper for each document, or
maybe something completely different. ;-)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: svn commit: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon

2005-08-14 Thread Ugo Cei
This patch seems to have broken some of the JX templates I was using.  
In particular, I had templates where the jx namespace prefix was  
declared in a single jx:forEach element (most of the content is  
static and I just need to interate a collection to display a table):


jx:forEach items=${channels} var=channel xmlns:jx=http:// 
apache.org/cocoon/templates/jx/1.0

 ...
/jx;forEach

Now these templates throw the following exception:

java.lang.IllegalStateException: Misbalanced enter and leaving of scope.
at org.apache.cocoon.xml.NamespacesTable.leaveScope 
(NamespacesTable.java:228)
at org.apache.cocoon.xml.RedundantNamespacesFilter.endElement 
(RedundantNamespacesFilter.java:72)
at org.apache.cocoon.generation.JXTemplateGenerator.execute 
(JXTemplateGenerator.java:2632)
at  
org.apache.cocoon.generation.JXTemplateGenerator.performGeneration 
(JXTemplateGenerator.java:2497)
at org.apache.cocoon.generation.JXTemplateGenerator.generate 
(JXTemplateGenerator.java:2491)


A simple workaround consists in putting the namespace declaration in  
the root element of the template, but this is not nice to people who  
have lots of templates to change. Is this a bug or a feature?


Ugo


--
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine  Food Blog: http://www.divinocibo.it/






Re: [JCR Block] Viewing content of properties and last modified

2005-08-14 Thread Sylvain Wallez

Michael Wechner wrote:


Hi

I have two questions re the JCR Block

1) How can one actually access the content of properties?



You cannot access them directly with the JCRNodeSource, which is meant 
to represent file-like abstractions which are mapped to nodes. Now such 
a source, you can get the corresponding Node and then do whatever you 
want with it.



2) I don't fully understand how lastModified is being handled.
  From looking at the implementation it seems to me that only
content nodes can have a lastModified, but I probably misunderstand
something, right?



The idea here is that the node holding the content also holds the 
property that gives the last modification. The distinction between file 
node and content node is more a point of view, and a given node should 
be able to have both roles.


Sylvain

--
Sylvain WallezAnyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research  Technology Director



Re: svn commit: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon

2005-08-14 Thread Sylvain Wallez

Ugo Cei wrote:

This patch seems to have broken some of the JX templates I was using.  
In particular, I had templates where the jx namespace prefix was  
declared in a single jx:forEach element (most of the content is  
static and I just need to interate a collection to display a table):


jx:forEach items=${channels} var=channel xmlns:jx=http:// 
apache.org/cocoon/templates/jx/1.0

 ...
/jx;forEach

Now these templates throw the following exception:

java.lang.IllegalStateException: Misbalanced enter and leaving of scope.
at org.apache.cocoon.xml.NamespacesTable.leaveScope 
(NamespacesTable.java:228)
at org.apache.cocoon.xml.RedundantNamespacesFilter.endElement 
(RedundantNamespacesFilter.java:72)
at org.apache.cocoon.generation.JXTemplateGenerator.execute 
(JXTemplateGenerator.java:2632)
at  
org.apache.cocoon.generation.JXTemplateGenerator.performGeneration 
(JXTemplateGenerator.java:2497)
at org.apache.cocoon.generation.JXTemplateGenerator.generate 
(JXTemplateGenerator.java:2491)


A simple workaround consists in putting the namespace declaration in  
the root element of the template, but this is not nice to people who  
have lots of templates to change. Is this a bug or a feature?



This is clearly a bug, either in NamespacesTable or in JXTemplate. I'll 
take care of this ASAP.


Just a precision though: what's are the direct children of the 
jx:forEach? Text, elements, mixed content?


Sylvain

--
Sylvain WallezAnyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research  Technology Director



Re: svn commit: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon

2005-08-14 Thread Ugo Cei


On Aug 14, 2005, at 2:43 PM, Sylvain Wallez wrote:


This is clearly a bug, either in NamespacesTable or in JXTemplate.  
I'll take care of this ASAP.




Thanks a lot.


Just a precision though: what's are the direct children of the  
jx:forEach? Text, elements, mixed content?




Elements (and whitespace):

  jx:forEach items=${channels} var=channel  
xmlns:jx=http://apache.org/cocoon/templates/jx/1.0;

tr
  tda href=${channel.link} target=_blank$ 
{channel.title}/a/td
  tda href=${channel.url} target=_blank$ 
{channel.url}/a/td

  td${channel.lastUpdate}/td
  td${channel.description}/td
  tda href=refreshChannel.do?id=$ 
{channel.id}Refresh/a/td

/tr
  /jx:forEach

Ugo

--
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine  Food Blog: http://www.divinocibo.it/






Re: Where are the articles on writing Cocoon components?

2005-08-14 Thread Steven Noels

On 13 Aug 2005, at 23:15, Berin Loritsch wrote:

It's not that hard to write the Cocoon components, but there should be 
something that puts it down.  I can't guarantee I can do it soon but 
I'll see what I can do.  Where should I put it in the grand scheme of 
things?


If you want, you can register yourself on cocoon.zones.apache.org/daisy.

/Steven
--
Steven Noelshttp://outerthought.org/
Outerthought  Open Source Java  XML
stevenn at outerthought.orgstevenn at apache.org



DO NOT REPLY [Bug 24457] - Xalan/XSLT using UTF-8: Incorrect SAXException: Attempt to output character of integral value...

2005-08-14 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=24457.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=24457


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:15 ---
Please check the note about this bug in xalan 2.7.0:

http://issues.apache.org/jira/browse/XALANJ-1710#action_12318718

If this solves this bug, please close it. ;-)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 27604] - Cocoon Forms stylesheet reports error if xsltc used

2005-08-14 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=27604.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27604





--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:17 ---
This bug seems to be still valid after 2.7.0:
http://issues.apache.org/jira/browse/XALANJ-1976

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 23615] - XSLTC doesn't work with nodeset functions

2005-08-14 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=23615.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=23615


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:20 ---
Can do a retest with xalan 2.7.0?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 21177] - a crash in the name() function of the xslt, when using SQL transformer

2005-08-14 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=21177.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21177


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:21 ---
Plase check if this is still valid

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 23939] - document('relative-URI') seems to resolve wrongly depending on request-URI (SourceResolver?)

2005-08-14 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=23939.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=23939


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 29401] - xslt extension functions with bsf broken due to xalan-2.6 / bsf-2.3 conflict

2005-08-14 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=29401.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29401


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:24 ---
xalan 2.7.0 on the cocoon 2.1.8-dev include the fix to this bug. Please check if
the bug is still valid.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 30824] - XML serializer puts DOCTYPE after initial XML comments

2005-08-14 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=30824.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30824


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-08-14 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=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33556] - ArrayIndexOutOfBoundsException using string(.) .

2005-08-14 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=33556.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33556





--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:39 ---
Seems to be a xalan bug:

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)

Plase retest if this still happens with xalan 2.7.0.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 34626] - Error while building Cocoon 2.1.7

2005-08-14 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=34626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34626


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-14 22:47 ---
I think all this problems are related to another jars versions installed in the
local machine.

If this is the case, please mark this bug as invalid and close the bug.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Bug report for Cocoon 2 [2005/08/14]

2005-08-14 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 5978|Ass|Nor|2002-01-23|Java SecurityManager java.lang.RuntimePermission c|
| 6200|New|Maj|2002-02-03|Parser failure with validate=true when processing |
| 9916|New|Enh|2002-06-17|Support passing of object parameters into sitemap |
|10203|Opn|Enh|2002-06-25|Docs referenced by XSLT's document() are not inclu|
|10827|New|Enh|2002-07-15|ESQL get-xml/ doesn't support namespaces|
|15302|Ass|Nor|2002-12-12|XSPUtil.relativeFilename() returns differents resu|
|15316|New|Nor|2002-12-12|FOP does not resolve relative paths   |
|16537|New|Nor|2003-01-29|[PATCH] fixed redirect under JRun 3.1 |
|17594|New|Nor|2003-03-03|WebSphere redirect bug|
|17771|New|Enh|2003-03-07|[PATCH] new logging category never set when using |
|19138|New|Enh|2003-04-18|[PATCH] Made SQLTransformer paginatable   |
|19641|New|Nor|2003-05-05|[PATCH] HSSFSerializer Support for FreezePane |
|20508|New|Nor|2003-06-05|[PATCH] Namespace cleanup in HTMLSerializer   |
|20631|New|Enh|2003-06-10|[PATCH] Support for transactions in SQLTransformer|
|21177|Inf|Nor|2003-06-30|a crash in the name() function of the xslt, when u|
|22732|Opn|Nor|2003-08-26|Cocoon Servlet can't be included  |
|23002|Ass|Nor|2003-09-08|[PATCH]: HSSF Serializer does not process gmr:Pri|
|23283|Unc|Nor|2003-09-19|WebServiceProxy doesn't re-encode request paramete|
|23542|Opn|Maj|2003-10-01|[PATCH] Fix Bug: Better handling of CLOB in esql (|
|23585|New|Nor|2003-10-03|Localton of ev_cache.ser file in DefaultEventRegis|
|23615|Inf|Nor|2003-10-06|XSLTC doesn't work with nodeset functions |
|23796|New|Nor|2003-10-14|[PATCH] docs pages containing source are sometim|
|23901|New|Nor|2003-10-17|[PATCH] adding wd:on-phase and moving load() and|
|23939|Inf|Nor|2003-10-20|document('relative-URI') seems to resolve wrongly |
|24135|Ass|Min|2003-10-26|carselector sample: reloading page puts old values|
|24389|New|Enh|2003-11-04|[PATCH] New ResourceLoadAction|
|24391|New|Nor|2003-11-04|[PATCH] wsinclude and htmlinclude transformers|
|24402|New|Enh|2003-11-04|[PATCH] XML posting from SourceWritingTransformer |
|24457|Inf|Nor|2003-11-06|Xalan/XSLT using UTF-8: Incorrect SAXException: At|
|24498|New|Enh|2003-11-07|Need to be able to use cinclude or xinclude to|
|24529|New|Enh|2003-11-08|[PATCH] file upload component for usage with flows|
|24741|New|Nor|2003-11-17|XSP: util:get-sitemap-parameter/ returns nothing|
|24871|New|Maj|2003-11-20|jsp block functionality broken, running on resin 3|
|24891|New|Nor|2003-11-21|raw-request-param returns null when used with cinc|
|25099|New|Enh|2003-12-01|[Roadmap] CocoonForms |
|25100|New|Nor|2003-12-01|[PATCH] sitemap parameters support for SVGSerializ|
|25110|New|Enh|2003-12-01|[Roadmap] CocoonForms - release 1.0   |
|25113|New|Enh|2003-12-01|[Roadmap] CocoonForms - FUTURE releases   |
|25114|New|Enh|2003-12-01|[Roadmap] Support for multi-page forms|
|25115|New|Enh|2003-12-01|[Roadmap] General review of all XML elements  |
|25116|New|Enh|2003-12-01|[Roadmap] Tree widget |
|25280|New|Enh|2003-12-08|[Roadmap] Flowscript  |
|25281|New|Enh|2003-12-08|Make it possible to use continuations in clustered|
|25284|New|Enh|2003-12-08|[Roadmap] Flowscript - FUTURE releases|
|25287|New|Enh|2003-12-08|Datatypes repository - widget definition reuse|
|25288|Ass|Enh|2003-12-08|JXTemplate: One base implementation which is easil|
|25289|New|Enh|2003-12-08|[Roadmap] Multi-sources binding   |
|25290|New|Enh|2003-12-08|[Roadmap] Change expression language  |
|25295|New|Enh|2003-12-08|XUL support   |
|25298|New|Enh|2003-12-08|Calculated fields |
|25299|New|Enh|2003-12-08|Default values for fields |

DO NOT REPLY [Bug 29365] - Zip file remains open

2005-08-14 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=29365.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29365


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: Where are the articles on writing Cocoon components?

2005-08-14 Thread Ralph Goers
I doubt that there is anything in the works on this. I remember running 
into this problem when I was first learning Cocoon.  I had to go to the 
Avalon site to get basic lifecycle information (this is now at the 
Excalibur site).  But I had to figure out what the point of cocoon.roles 
was on my own as I don't recall seeing any documents anywhere on that, 
although I believe Avalon does or did mention them a little.


It would be nice if this could be done as part of trunk - the whole new 
container architecture including OSGi could use some good coverage.  I 
could use it myself as I haven't really been following all the details 
of the changes that are being made.


Ralph

Berin Loritsch wrote:

It seems that a huge hole in documentation exists on the site.  As I 
was training one of my crew on how to write a reader (adapting a 
servlet we had) I found I couldn't refer to one nice page.  Not even 
the JavaDocs really help all that much.  I didn't even know about the 
ObjectModelHelper class until I used the class introspector to 
discover it.  I really wanted something that spelled out the entries 
in the ObjectModel but could not find it.


It's not that hard to write the Cocoon components, but there should be 
something that puts it down.  I can't guarantee I can do it soon but 
I'll see what I can do.  Where should I put it in the grand scheme of 
things?





DO NOT REPLY [Bug 35538] - [PATCH] Update to DELI, fix to config files

2005-08-14 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=35538.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35538


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-15 05:52 ---
Sorry for being late to apply this patch. I found some problems:

1. The patch file does not match the cocoon 2.1.x version. I applied it as I
though is the best guess. Because the file
src/blocks/deli/WEB-INF/xconf/cocoon-deli.xconf

does not exists in the 2.1.x branch. I guessed the file must be:

src/blocks/deli/conf/deli.xconf

I applied to the later file the simple line change in the patch.

After that everything compiled OK. But when running the sample:
http://localhost:/samples/blocks/deli/deli.html

I saw a blank page and this stack exception:

java.lang.ClassCastException: com.hp.hpl.jena.rdf.model.impl.LiteralImpl
at
com.hp.hpl.deli.JenaProcessProfile$ProcessAttributeList.processDefaultBlock(JenaProcessProfile.java:487)
at
com.hp.hpl.deli.JenaProcessProfile$ProcessAttributeList.init(JenaProcessProfile.java:442)
at
com.hp.hpl.deli.JenaProcessProfile.processModel(JenaProcessProfile.java:193)
at 
com.hp.hpl.deli.JenaProcessProfile.process(JenaProcessProfile.java:103)
at com.hp.hpl.deli.Profile.init(Profile.java:51)
at com.hp.hpl.deli.CachedProfile.set(CachedProfile.java:32)
at com.hp.hpl.deli.ProfileCache.get(ProfileCache.java:58)
at com.hp.hpl.deli.Profile.init(Profile.java:78)
at 
org.apache.cocoon.components.deli.DeliImpl.getProfile(DeliImpl.java:149)
at
org.apache.cocoon.components.deli.DeliImpl.getUACapabilities(DeliImpl.java:210)
at
org.apache.cocoon.transformation.DeliTransformer.getLogicSheetParameters(DeliTransformer.java:69)
at
org.apache.cocoon.transformation.TraxTransformer.getKey(TraxTransformer.java:374)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getTransformerKey(AbstractCachingProcessingPipeline.java:888)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.generateCachingKey(AbstractCachingProcessingPipeline.java:328)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:622)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:502)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:454)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:250)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at

DO NOT REPLY [Bug 35538] - [PATCH] Update to DELI, fix to config files

2005-08-14 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=35538.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35538





--- Additional Comments From [EMAIL PROTECTED]  2005-08-15 06:02 ---
Downloaded jena 2.2. Seems like it does not run in java 1.3. At jetty startup:

Exception in thread main java.lang.reflect.InvocationTargetException:
java.lang.UnsupportedClassVersionError: com/hp/hpl/jena/rdf/model/NodeIterator
(Unsupported major.minor version 48.0)

   - 0 -
I am going to try if jena can be compiled for java 1.3. (I think it cannot be).


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 35538] - [PATCH] Update to DELI, fix to config files

2005-08-14 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=35538.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35538





--- Additional Comments From [EMAIL PROTECTED]  2005-08-15 06:28 ---
I was able to compile jena for 1.3, but it does not run. There are problems
running in java 1.3, because of java.nio classes that where introduced in 1.4:

Exception in thread main java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError: java/nio/charset/Charset
at com.hp.hpl.jena.util.CharEncoding.create(CharEncoding.java:138)
at
com.hp.hpl.jena.rdf.arp.SingleThreadedParser.setEncoding(SingleThreadedParser.java:187)
at
com.hp.hpl.jena.rdf.arp.SingleThreadedParser$MySAXParser.xmlDecl(SingleThreadedParser.java:78)
at org.apache.xerces.impl.XMLNamespaceBinder.xmlDecl(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.xmlDecl(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at
com.hp.hpl.jena.rdf.arp.SingleThreadedParser.parseSome(SingleThreadedParser.java:100)
at
com.hp.hpl.jena.rdf.arp.PullingTokenPipe.getNextToken(PullingTokenPipe.java:55)
at com.hp.hpl.jena.rdf.arp.RDFParser.jj_ntk(RDFParser.java:2179)
at com.hp.hpl.jena.rdf.arp.RDFParser.whiteOrErr(RDFParser.java:179)
at com.hp.hpl.jena.rdf.arp.RDFParser.rdfFile(RDFParser.java:98)
at
com.hp.hpl.jena.rdf.arp.SingleThreadedParser.parse(SingleThreadedParser.java:146)
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:187)
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:174)
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:244)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:192)
at 
com.hp.hpl.deli.VocabularyConfig.schemaProcess(VocabularyConfig.java:254)
at com.hp.hpl.deli.VocabularyConfig.init(VocabularyConfig.java:113)
at com.hp.hpl.deli.Vocabulary.init(Vocabulary.java:43)
at com.hp.hpl.deli.Workspace$1CreateWorkspace.init(Workspace.java:189)
at com.hp.hpl.deli.Workspace.configure(Workspace.java:338)
at 
org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:117)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.