You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2011/01/07 01:46:45 UTC

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

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] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "Brian M Dube (JIRA)" <ji...@apache.org>.
    [ 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] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Brian M Dube (JIRA)" <ji...@apache.org>.
    [ 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] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ 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] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ 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] Closed: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "Brian M Dube (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian M Dube closed FOR-1215.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.10)
                   0.9-dev

Fixed with rebuilt Cocoon Validation block.

> 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.9-dev
>
>
> 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] Issue Comment Edited: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111

Posted by "Brian M Dube (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978660#action_12978660 ] 

Brian M Dube edited comment on FOR-1215 at 1/7/11 2:14 AM:
-----------------------------------------------------------

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 (with the newer Jing also on Forrest's class path in place of our version).

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.


      was (Author: brian):
    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.