[
https://issues.apache.org/jira/browse/OPENEJB-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rex Wang updated OPENEJB-1619:
------------------------------
Attachment: TestSchema4.java
OPENEJB-1619-parse-once.patch
I tried to follow David Jencks's suggestion to validate schema while parsing
the xml, so that we can just parse once when unmarshal web.xml to WebApp
object. It involves a validatorHandler in the xml filter. See the
OPENEJB-1619-parse-once.patch
However, I have no idea why the validatorhandler seems have no effect..
TestSchema4.java is a simple demo to reproduce the issue.
Any ideas?
> Support schema validation for Java EE Deployment descriptor
> -----------------------------------------------------------
>
> Key: OPENEJB-1619
> URL: https://issues.apache.org/jira/browse/OPENEJB-1619
> Project: OpenEJB
> Issue Type: Improvement
> Components: general
> Affects Versions: 4.0
> Reporter: Rex Wang
> Fix For: 4.0
>
> Attachments: OPENEJB-1619-parse-once.patch, OPENEJB-1619.patch,
> TestSchema4.java
>
>
> Currently, we don't validate the schema when do unmarshalJavaee in
> JaxbJavaee. We need add this ability.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira