---
---
= Ehcache XSDs
ifndef::sourcedir39[]
include::{includedir}/common.adoc[]
endif::sourcedir39[]

ifdef::notBuildingForSite[]
include::{includedir}/menu.adoc[]
endif::notBuildingForSite[]

== XSD namespaces and locations

* Core namespace: `http://www.ehcache.org/v3`
** Location for 3.0: `http://www.ehcache.org/schema/ehcache-core-3.0.xsd`
** Location for 3.1: `http://www.ehcache.org/schema/ehcache-core-3.1.xsd`
** Location for 3.2: `http://www.ehcache.org/schema/ehcache-core-3.2.xsd`
** Location for 3.3: `http://www.ehcache.org/schema/ehcache-core-3.3.xsd`
** Location for 3.4: `http://www.ehcache.org/schema/ehcache-core-3.4.xsd`
** Location for 3.5: `http://www.ehcache.org/schema/ehcache-core-3.5.xsd`
** Location for 3.6: `http://www.ehcache.org/schema/ehcache-core-3.6.xsd`
** Location for 3.7: `http://www.ehcache.org/schema/ehcache-core-3.7.xsd`
** Location for 3.8: `http://www.ehcache.org/schema/ehcache-core-3.8.xsd`
** Location for 3.9: `http://www.ehcache.org/schema/ehcache-core-3.9.xsd`
// needle_for_core_xsd
* JSR-107 namespace: `http://www.ehcache.org/v3/jsr107`
** Location for 3.0: `http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd`
** Location for 3.1: `http://www.ehcache.org/schema/ehcache-107-ext-3.1.xsd`
** Location for 3.2: `http://www.ehcache.org/schema/ehcache-107-ext-3.2.xsd`
** Location for 3.3: `http://www.ehcache.org/schema/ehcache-107-ext-3.3.xsd`
** Location for 3.4: `http://www.ehcache.org/schema/ehcache-107-ext-3.4.xsd`
** Location for 3.5: `http://www.ehcache.org/schema/ehcache-107-ext-3.5.xsd`
** Location for 3.6: `http://www.ehcache.org/schema/ehcache-107-ext-3.6.xsd`
** Location for 3.7: `http://www.ehcache.org/schema/ehcache-107-ext-3.7.xsd`
** Location for 3.8: `http://www.ehcache.org/schema/ehcache-107-ext-3.8.xsd`
** Location for 3.9: `http://www.ehcache.org/schema/ehcache-107-ext-3.9.xsd`
// needle_for_107_xsd
* Transactions namespace: `http://www.ehcache.org/v3/tx`
** Location for 3.0: `http://www.ehcache.org/schema/ehcache-tx-ext-3.0.xsd`
** Location for 3.1: `http://www.ehcache.org/schema/ehcache-tx-ext-3.1.xsd`
** Location for 3.2: `http://www.ehcache.org/schema/ehcache-tx-ext-3.2.xsd`
** Location for 3.3: `http://www.ehcache.org/schema/ehcache-tx-ext-3.3.xsd`
** Location for 3.4: `http://www.ehcache.org/schema/ehcache-tx-ext-3.4.xsd`
** Location for 3.5: `http://www.ehcache.org/schema/ehcache-tx-ext-3.5.xsd`
** Location for 3.6: `http://www.ehcache.org/schema/ehcache-tx-ext-3.6.xsd`
** Location for 3.7: `http://www.ehcache.org/schema/ehcache-tx-ext-3.7.xsd`
** Location for 3.8: `http://www.ehcache.org/schema/ehcache-tx-ext-3.8.xsd`
** Location for 3.9: `http://www.ehcache.org/schema/ehcache-tx-ext-3.9.xsd`
// needle_for_transactions_xsd
* Clustering namespace: `http://www.ehcache.org/v3/clustered`
** Location for 3.1: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.1.xsd`
** Location for 3.2: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.2.xsd`
** Location for 3.3: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.3.xsd`
** Location for 3.4: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.4.xsd`
** Location for 3.5: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.5.xsd`
** Location for 3.6: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.6.xsd`
** Location for 3.7: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.7.xsd`
** Location for 3.8: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.8.xsd`
** Location for 3.9: `http://www.ehcache.org/schema/ehcache-clustered-ext-3.9.xsd`
// needle_for_clustered_xsd

=== Usage example

[source,xml,indent=0]
----
include::{sourcedir39}/107/src/test/resources/org/ehcache/docs/public-xsds-location.xml[tag=xsdLocations]
----

[[core]]
== Core

[source,xsd,indent=0]
----
include::{sourcedir39}/xml/src/main/resources/ehcache-core.xsd[lines=18..-1]
----

[[jsr-107-extension]]
== JSR-107 extension

[source,xsd,indent=0]
----
include::{sourcedir39}/107/src/main/resources/ehcache-107-ext.xsd[lines=18..-1]
----

== XA transactions extension

[source,xsd,indent=0]
----
include::{sourcedir39}/transactions/src/main/resources/ehcache-tx-ext.xsd[lines=18..-1]
----
