[infinispan-dev] XML config validation not happening?
Manik Surtani
manik at jboss.org
Wed Aug 12 04:44:17 EDT 2009
On 12 Aug 2009, at 09:38, Galder Zamarreno wrote:
>
>
> 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 at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
More information about the infinispan-dev
mailing list