This content has been marked as final.
Show 2 replies
-
1. Re: How to validate type-value?
aloubyansky Jan 19, 2009 11:06 AM (in response to jeff.zhang)I guess, you could use enum here.
http://anonsvn.jboss.org/repos/common/jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/ -
2. Re: How to validate type-value?
adrian.brock Jan 19, 2009 12:45 PM (in response to jeff.zhang)Schema validation is a function of the xml parser not JBossXB.
If you are using the deployer's parsing helper classes it should be enabled by default.
If you are using Weston's ManagedConnectionFactoryParserDeployer hack
then it won't work. He wasn't even using the JBossEntityResolver until I fixed it. ;-)