"adrian(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...