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!
Yeah basically it will be on the classpath.
Cheers
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache