Hi,

I'm using XML files instead of .properties to configure my application.

I would like to use XML Schema files to validate my configuration files, but I don't want to refer to them using a full qualified file name, or using an HTTP URL.

I would like to locate them by use of the class loader (which could then locate .xsd files bundled in .jar files ).

For instance, using the following statement,
<personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation='personal.xsd'>
, the default namespace would be defined in a file personal.xsd located at the root of the classpath or bundled in a .jar file.

How can achieve it ?

Thanks.