Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: Dev

[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

 

 

Forrest dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Jan 6, 2011, 4:48 PM

Post #1 of 5 (283 views)
Permalink
[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

[ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978596#action_12978596 ]

David Crossley commented on FOR-1215:
-------------------------------------

This needs to be fixed in the Cocoon 2.1 Validation Block. See the docs above for some links.

> The optional use of Cocoon Validation Transformers fails with Jing-20091111
> ---------------------------------------------------------------------------
>
> Key: FOR-1215
> URL: https://issues.apache.org/jira/browse/FOR-1215
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Fix For: 0.10
>
>
> The optional use of "Cocoon Validation Transformers" is explained here:
> http://forrest.apache.org/howto-dev.html#debug-validation
> http://forrest.apache.org/howto-dev.html#validate-intermediate
> FOR-1172 enable validation of the internal xml
> This works okay with Jing-20081028
> However with the current release of Jing-20091111 it fails with this message:
> ...
> * [178/93] [93/135] 0.886s 10.0Kb linkmap.validation-start.xml
> * [179/92] [0/0] 0.089s 0b docs_0_90/howto/howto-buildPlugin.validation.xml
> Exception in thread "main" java.lang.NoSuchFieldError: ENTITY_RESOLVER
> at org.apache.cocoon.components.validation.jing.JingSchemaParser.parseSchema(JingSchemaParser.java:79)
> at org.apache.cocoon.components.validation.impl.AbstractValidator.getSchema(AbstractValidator.java:410)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


jira at apache

Jan 6, 2011, 7:57 PM

Post #2 of 5 (271 views)
Permalink
[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111 [In reply to]

[ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978626#action_12978626 ]

Brian M Dube commented on FOR-1215:
-----------------------------------

It works to build the Cocoon Validation Block with Jing-20091111 on the class path. No changes are necessary to the source code in the block.

Do we need a validation block that works with multiple versions of Jing, or is the goal to upgrade Jing?

> The optional use of Cocoon Validation Transformers fails with Jing-20091111
> ---------------------------------------------------------------------------
>
> Key: FOR-1215
> URL: https://issues.apache.org/jira/browse/FOR-1215
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Fix For: 0.10
>
>
> The optional use of "Cocoon Validation Transformers" is explained here:
> http://forrest.apache.org/howto-dev.html#debug-validation
> http://forrest.apache.org/howto-dev.html#validate-intermediate
> FOR-1172 enable validation of the internal xml
> This works okay with Jing-20081028
> However with the current release of Jing-20091111 it fails with this message:
> ...
> * [178/93] [93/135] 0.886s 10.0Kb linkmap.validation-start.xml
> * [179/92] [0/0] 0.089s 0b docs_0_90/howto/howto-buildPlugin.validation.xml
> Exception in thread "main" java.lang.NoSuchFieldError: ENTITY_RESOLVER
> at org.apache.cocoon.components.validation.jing.JingSchemaParser.parseSchema(JingSchemaParser.java:79)
> at org.apache.cocoon.components.validation.impl.AbstractValidator.getSchema(AbstractValidator.java:410)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


jira at apache

Jan 6, 2011, 10:49 PM

Post #3 of 5 (274 views)
Permalink
[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111 [In reply to]

[ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978658#action_12978658 ]

David Crossley commented on FOR-1215:
-------------------------------------

Ah, good discovery. I reckon just to upgrade our packaged lib/core/jing to their latest release.

> The optional use of Cocoon Validation Transformers fails with Jing-20091111
> ---------------------------------------------------------------------------
>
> Key: FOR-1215
> URL: https://issues.apache.org/jira/browse/FOR-1215
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Fix For: 0.10
>
>
> The optional use of "Cocoon Validation Transformers" is explained here:
> http://forrest.apache.org/howto-dev.html#debug-validation
> http://forrest.apache.org/howto-dev.html#validate-intermediate
> FOR-1172 enable validation of the internal xml
> This works okay with Jing-20081028
> However with the current release of Jing-20091111 it fails with this message:
> ...
> * [178/93] [93/135] 0.886s 10.0Kb linkmap.validation-start.xml
> * [179/92] [0/0] 0.089s 0b docs_0_90/howto/howto-buildPlugin.validation.xml
> Exception in thread "main" java.lang.NoSuchFieldError: ENTITY_RESOLVER
> at org.apache.cocoon.components.validation.jing.JingSchemaParser.parseSchema(JingSchemaParser.java:79)
> at org.apache.cocoon.components.validation.impl.AbstractValidator.getSchema(AbstractValidator.java:410)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


jira at apache

Jan 6, 2011, 11:09 PM

Post #4 of 5 (271 views)
Permalink
[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111 [In reply to]

[ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978660#action_12978660 ]

Brian M Dube commented on FOR-1215:
-----------------------------------

I'll describe what I did since I'm not at all up to speed with
Cocoon. Using Cocoon's BRANCH_2_1_X at r1056175, I swapped out the
included Jing (20030619) with 20091111 and updated lib/jars.xml to
reflect that change. Then I excluded all blocks but validation and
built Cocoon. I tested Forrest with the block built against the newer
Jing and validation worked without error.

If the validation block as shipped by Forrest requires any kind of
configuration, I missed that step. But if not, it looks like Jing and
the validation block can be upgraded together without issue.


> The optional use of Cocoon Validation Transformers fails with Jing-20091111
> ---------------------------------------------------------------------------
>
> Key: FOR-1215
> URL: https://issues.apache.org/jira/browse/FOR-1215
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Fix For: 0.10
>
>
> The optional use of "Cocoon Validation Transformers" is explained here:
> http://forrest.apache.org/howto-dev.html#debug-validation
> http://forrest.apache.org/howto-dev.html#validate-intermediate
> FOR-1172 enable validation of the internal xml
> This works okay with Jing-20081028
> However with the current release of Jing-20091111 it fails with this message:
> ...
> * [178/93] [93/135] 0.886s 10.0Kb linkmap.validation-start.xml
> * [179/92] [0/0] 0.089s 0b docs_0_90/howto/howto-buildPlugin.validation.xml
> Exception in thread "main" java.lang.NoSuchFieldError: ENTITY_RESOLVER
> at org.apache.cocoon.components.validation.jing.JingSchemaParser.parseSchema(JingSchemaParser.java:79)
> at org.apache.cocoon.components.validation.impl.AbstractValidator.getSchema(AbstractValidator.java:410)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


jira at apache

Jan 7, 2011, 12:19 AM

Post #5 of 5 (269 views)
Permalink
[jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111 [In reply to]

[ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978674#action_12978674 ]

David Crossley commented on FOR-1215:
-------------------------------------

Yeah that sounds the correct process to upgrade one block. For those following, the full upgrade process is described at $FORREST_HOME/etc/cocoon_upgrade/

No configuration needed, and no block dependencies (as shown in those Cocoon notes).



> The optional use of Cocoon Validation Transformers fails with Jing-20091111
> ---------------------------------------------------------------------------
>
> Key: FOR-1215
> URL: https://issues.apache.org/jira/browse/FOR-1215
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Fix For: 0.10
>
>
> The optional use of "Cocoon Validation Transformers" is explained here:
> http://forrest.apache.org/howto-dev.html#debug-validation
> http://forrest.apache.org/howto-dev.html#validate-intermediate
> FOR-1172 enable validation of the internal xml
> This works okay with Jing-20081028
> However with the current release of Jing-20091111 it fails with this message:
> ...
> * [178/93] [93/135] 0.886s 10.0Kb linkmap.validation-start.xml
> * [179/92] [0/0] 0.089s 0b docs_0_90/howto/howto-buildPlugin.validation.xml
> Exception in thread "main" java.lang.NoSuchFieldError: ENTITY_RESOLVER
> at org.apache.cocoon.components.validation.jing.JingSchemaParser.parseSchema(JingSchemaParser.java:79)
> at org.apache.cocoon.components.validation.impl.AbstractValidator.getSchema(AbstractValidator.java:410)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Forrest dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.