[infinispan-dev] XML config validation not happening?

Galder Zamarreno galder.zamarreno at redhat.com
Wed Aug 12 04:38:20 EDT 2009



On 08/12/2009 10:33 AM, Vladimir Blagojevic wrote:
> On 11/08/09 5:06 PM, Galder Zamarreno wrote:
>>>
>>> All you have to do is use InfinispanConfiguration factory method that
>>> points to a valid schema. That way you explicitly turn on validation.
>>
>> Hmmm, this should be on by default:
>> https://jira.jboss.org/jira/browse/ISPN-154
>>
> Can we assume that schema file will be located in schema directory? The
> best way to resolve a file stream given a string as a file name is our
> own FileLookup, right?

We'll be shipping the xsd in the jar, so I think it's safe to assume 
that we'll keep it in the same place, otherwise it'd be a nightmare for 
our users!
-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list