forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian M Dube (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-1215) The optional use of Cocoon Validation Transformers fails with Jing-20091111
Date Fri, 07 Jan 2011 07:09:48 GMT

    [ 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.


Mime
View raw message