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

"Brian M Dube (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.forrest.devel
Message-ID <21055649.205931294384188514.JavaMail.jira@thor>
    [ 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.