[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Wildcards and JBossXb Builder
adrian@jboss.org
do-not-reply at jboss.com
Wed Mar 5 07:08:59 EST 2008
"adrian at jboss.org" wrote :
| I(t) shouldn't be working though. Its probably only working because
| you've hacked it in the schema initializer. :-)
|
| Problems:
| 1) the MC schema doesn't export a "value" element
| 2) the policy schema doesn't even define an xsd:any element :-)
|
This is really a more generic problem. The best way to catch this in the long term
(e.g. making sure people define the schema properly when they change the
metadata/parsing) is to enable validation of the xml against the schema
in our xml parsing tests (and optionally on the BaseXmlDeployer/MicrocontainerTest).
See the SchemaResolverDeployer for how to do this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134194#4134194
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134194
More information about the jboss-dev-forums
mailing list