Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CleanerDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CleanerDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CleanerDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:annotation>
+        <xs:documentation>Standard part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element type="HEADERType" name="HEADER"/>
+                <xs:element type="BODYType" name="BODY"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+            <xs:element type="RESOURCE_TYPEType" name="RESOURCE_TYPE"/>
+            <xs:element type="RESOURCE_KINDType" name="RESOURCE_KIND"/>
+            <xs:element type="RESOURCE_URIType" name="RESOURCE_URI"/>
+            <xs:element name="DATE_OF_CREATION" type="DATEType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+            <xs:element type="STATUSType" name="STATUS"/>
+            <xs:element ref="SECURITY_PARAMETERS"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute use="required" name="value" type="xs:string"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="CleanerDSResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute use="required" name="value">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="CleanerDSResources"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="DATEType">
+        <xs:attribute use="required" name="value" type="xs:dateTime"/>
+    </xs:complexType>
+    <xs:annotation>
+        <xs:documentation>Customisable part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:sequence>
+            <xs:element type="xs:string" name="CLEANER_NAME"/>
+   			<xs:element type="xs:string" name="CLEANER_DESCRIPTION"/>
+            <xs:element type="CLEANERRULESType" name="CLEANER_RULES"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="CLEANERRULESType">
+        <xs:sequence>
+            <xs:element name="RULE" maxOccurs="unbounded" type="RULEType"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="RULEType">
+        <xs:attribute type="xs:string" name="xpath" use="required"/>
+        <xs:attribute type="xs:string" name="vocabularies" use="optional"/>
+        <xs:attribute type="xs:string" name="groovy" use="optional" />
+        <xs:attribute type="xs:boolean" name="strict" use="optional" />
+    </xs:complexType>
+    <xs:complexType name="STATUSType">
+        <xs:all>
+            <xs:element type="DATEType" name="LAST_UPDATE"/>
+        </xs:all>
+    </xs:complexType>
+    
+    <xs:element type="xs:string" name="SECURITY_PARAMETERS" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/AnnouncementDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/AnnouncementDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/AnnouncementDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,73 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="AnnouncementDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="AnnouncementDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="ANNOUNCEMENT_INFO" type="ANNOUNCEMENT_INFOType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:all>
+			<xs:element name="SECURITY_PARAMETER" type="xs:string" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="ANNOUNCEMENT_INFOType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATION_ID" type="xs:string" />
+			<xs:element name="DATE_OF_EXPIRATION">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:dateTime" use="required" />
+				</xs:complexType>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/pom.xml
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/pom.xml	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/pom.xml	(revision 47767)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<parent>
+		<groupId>eu.dnetlib</groupId>
+		<artifactId>dnet45-parent</artifactId>
+		<version>1.0.0</version>
+		<relativePath />
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>eu.dnetlib</groupId>
+	<artifactId>dnet-schemas</artifactId>
+	<packaging>jar</packaging>
+	<version>1.0.8</version>
+	<scm>
+	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-schemas/tags/dnet-schemas-1.0.8</developerConnection>
+	</scm>
+</project>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CollectionDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CollectionDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CollectionDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,165 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CHILDType">
+		<xs:attribute name="id" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="CHILDRENType">
+		<xs:sequence>
+			<xs:element name="CHILD" type="CHILDType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element ref="IMAGE_URL" />
+			<xs:element ref="NAME" />
+			<xs:element name="OWNER" type="OWNERType" />
+			<xs:element name="MANAGERS" type="MANAGERSType" minOccurs="0" />
+			<xs:element name="BASKET" type="BASKETType" minOccurs="0" />
+			<xs:element name="FATHER" type="FATHERType" />
+			<xs:element name="DESCRIPTION" type="DESCRIPTIONType" />
+			<xs:element ref="SUBJECT" />
+			<xs:element ref="PRIVATE" />
+			<xs:element ref="VISIBLE" />
+			<xs:element ref="CONTAINER" />
+			<xs:element name="CHILDREN" type="CHILDRENType" />
+			<xs:element ref="MEMBERSHIP_CONDITION" />
+			<xs:element ref="ICON_URI" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="CONTAINER">
+		<xs:simpleType>
+			<xs:restriction base="xs:int">
+				<xs:enumeration value="0" />
+				<xs:enumeration value="1" />
+			</xs:restriction>
+		</xs:simpleType>
+	</xs:element>
+	<xs:complexType name="COUNT_DOCSType">
+		<xs:attribute name="number" type="xs:int" use="required" />
+		<xs:attribute name="last_update" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="MANAGERSType">
+		<xs:sequence>
+			<xs:element name="MANAGER" type="MANAGERType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DESCRIPTIONType">
+		<xs:sequence>
+			<xs:element name="FIELD" type="FIELDType" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="FATHERType">
+		<xs:attribute name="id" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BASKETType">
+		<xs:sequence>
+			<xs:element name="DOCUMENT" type="BASKETDOCUMENTType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MANAGERType" mixed="true">
+		<xs:attribute name="id" type="xs:string" use="required" />
+		<xs:attribute name="role" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BASKETDOCUMENTType" mixed="true">
+		<xs:attribute name="id" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="FIELDType" mixed="true">
+		<xs:attribute name="ord" type="xs:int" use="required" />
+		<xs:attribute name="label" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="MEMBERSHIP_CONDITION" type="xs:string" />
+	<xs:element name="NAME" type="xs:string" />
+	<xs:element name="IMAGE_URL" type="xs:string" />
+	<xs:complexType name="OWNERType">
+		<xs:attribute name="id" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="PRIVATE">
+		<xs:simpleType>
+			<xs:restriction base="xs:int">
+				<xs:enumeration value="0" />
+				<xs:enumeration value="1" />
+			</xs:restriction>
+		</xs:simpleType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CollectionDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CollectionDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RETRIEVAL_CONDITIONType" mixed="true">
+		<xs:attribute name="frozen" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:int">
+					<xs:enumeration value="0" />
+					<xs:enumeration value="1" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element name="COUNT_DOCS" type="COUNT_DOCSType" />
+			<xs:element name="RETRIEVAL_CONDITION" type="RETRIEVAL_CONDITIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="SUBJECT" type="xs:string" />
+	<xs:element name="VISIBLE">
+		<xs:simpleType>
+			<xs:restriction base="xs:int">
+				<xs:enumeration value="0" />
+				<xs:enumeration value="1" />
+			</xs:restriction>
+		</xs:simpleType>
+	</xs:element>
+	<xs:element name="ICON_URI" type="xs:string" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/FeatureExtractionDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/FeatureExtractionDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/FeatureExtractionDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,80 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="FeatureExtractionDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="FeatureExtractionDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element name="FEATURE" type="FEATUREType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="STATUSType">
+		<xs:all />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="PARAMETERLISTType">
+		<xs:sequence>
+			<xs:element name="PARAMETER" minOccurs="0" maxOccurs="unbounded"
+				type="PARAMETERType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="PARAMETERType">
+		<xs:sequence>
+			<xs:element name="NAME" type="xs:string" />
+			<xs:element name="TYPE" type="xs:string" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="FEATUREType">
+		<xs:sequence>
+			<xs:element name="EXTRACTION_TYPE" type="xs:string" />
+			<xs:element name="DESCRIPTION" type="xs:string" />
+			<xs:element name="PARAMETERS" type="PARAMETERLISTType" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ContextDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ContextDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ContextDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,106 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="HEADER"/>
+                <xs:element ref="BODY"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="HEADER">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="RESOURCE_IDENTIFIER"/>
+                <xs:element ref="RESOURCE_TYPE"/>
+                <xs:element ref="RESOURCE_KIND"/>
+                <xs:element ref="RESOURCE_URI"/>
+                <xs:element ref="DATE_OF_CREATION"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="RESOURCE_IDENTIFIER">
+        <xs:complexType>
+            <xs:attribute name="value" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="RESOURCE_TYPE">
+        <xs:complexType>
+            <xs:attribute name="value" use="required" type="xs:NCName"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="RESOURCE_KIND">
+        <xs:complexType>
+            <xs:attribute name="value" use="required" type="xs:NCName"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="RESOURCE_URI">
+        <xs:complexType>
+            <xs:attribute name="value" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="DATE_OF_CREATION">
+        <xs:complexType>
+            <xs:attribute name="value" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="BODY">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="CONFIGURATION"/>
+                <xs:element ref="STATUS"/>
+                <xs:element ref="SECURITY_PARAMETERS"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="CONFIGURATION">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="context"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="context">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" minOccurs="0" ref="param"/>
+                <xs:element maxOccurs="unbounded" minOccurs="0" ref="category"/>
+            </xs:sequence>
+            <xs:attribute name="id" use="required" type="xs:string"/>
+            <xs:attribute name="label" use="required" type="xs:string"/>
+            <xs:attribute name="type" use="required" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="category">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="param" maxOccurs="unbounded" minOccurs="0"/>
+                <xs:element maxOccurs="unbounded" minOccurs="0" ref="concept"/>
+            </xs:sequence>
+            <xs:attribute name="claim" use="required" type="xs:boolean"/>
+            <xs:attribute name="id" use="required" type="xs:string"/>
+            <xs:attribute name="label" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="STATUS">
+        <xs:complexType/>
+    </xs:element>
+    <xs:element name="SECURITY_PARAMETERS">
+        <xs:complexType/>
+    </xs:element>
+    <xs:element name="concept">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="concept"/>
+                <xs:element ref="param"/>
+            </xs:choice>
+            <xs:attribute name="claim" use="optional" type="xs:boolean"/>
+             <xs:attribute name="id" use="required" type="xs:string"/>
+            <xs:attribute name="label" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="param">
+        <xs:complexType mixed="true">
+            <xs:attribute name="name" use="required" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/WebInterfaceLayoutResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/WebInterfaceLayoutResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/WebInterfaceLayoutResourceType.xsd	(revision 47767)
@@ -0,0 +1,235 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="WebInterfaceLayoutResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="WebInterfaceLayoutResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="NAME" type="xs:string" />
+			<xs:element name="MDFORMAT_NAME" type="xs:string" />
+			<xs:element name="INDEX_LAYOUT_NAME" type="xs:string" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence minOccurs="1">
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="CSS_FILE" type="xs:string" />
+			<xs:sequence minOccurs="1">
+				<xs:element name="SUPPORTED_LOCALES" type="SuportedLocalesListType"
+					minOccurs="1" maxOccurs="1" />
+			</xs:sequence>
+			<xs:sequence maxOccurs="1">
+				<xs:element name="SEARCHABLES" type="SEARCHABLESType" />
+			</xs:sequence>
+			<xs:element name="DOCUMENT_DESCRIPTIONS" type="MapType" />
+			<xs:sequence minOccurs="0" maxOccurs="unbounded">
+				<xs:element name="BASE_COLLECTIONS" type="xs:string" />
+			</xs:sequence>
+			<xs:element name="VIEW_COMMUNITIES" type="xs:boolean" />
+			<xs:element name="VIEW_COLLECTIONS" type="xs:boolean" />
+			<xs:element name="VIEW_REPOSITORIES" type="xs:boolean" />
+			<xs:element name="VIEW_ANNOUNCEMENTS" type="xs:boolean" />
+			<xs:element name="VIEW_USER_PROFILE" type="xs:boolean" />
+			<xs:element name="VIEW_SIMILAR_DOCUMENTS" type="xs:boolean" />
+			<xs:element name="VIEW_EPUBLICATIONS" type="xs:boolean" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SuportedLocalesListType">
+		<xs:sequence minOccurs="1" maxOccurs="unbounded">
+			<xs:element name="SUPPORTED_LOCALE" type="SUPPORTED_LOCALEType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SUPPORTED_LOCALEType">
+		<xs:sequence minOccurs="1" maxOccurs="1">
+			<xs:element name="LOCALE" type="xs:string" />
+		</xs:sequence>
+		<xs:attribute name="DEFAULT" type="xs:boolean" />
+	</xs:complexType>
+	<xs:complexType name="SEARCHABLESType">
+		<xs:sequence minOccurs="0" maxOccurs="unbounded">
+			<xs:element name="SEARCHABLE" type="SEARCHABLEType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SEARCHABLEType">
+		<xs:all>
+			<xs:element name="NAME" type="xs:string" minOccurs="1" />
+			<xs:element name="TYPE" type="SearchableTypeType"
+				minOccurs="1" />
+			<xs:element name="INDEX_TYPE" type="xs:string" minOccurs="1" />
+			<xs:element name="DESCRIPTION_MAP" type="MapType"
+				minOccurs="1" />
+			<xs:element name="SHORT_DESCRIPTION_MAP" type="MapType"
+				minOccurs="1" />
+			<xs:element name="IN_SEARCH" type="xs:boolean" minOccurs="1" />
+			<xs:element name="IN_REFINE" type="xs:boolean" minOccurs="1" />
+			<xs:element name="IN_BROWSE" type="xs:boolean" minOccurs="1" />
+			<xs:element name="SEARCH_RANK" type="xs:int" minOccurs="1" />
+			<xs:element name="REFINE_RANK" type="xs:int" minOccurs="1" />
+			<xs:element name="BROWSE_RANK" type="xs:int" minOccurs="1" />
+			<xs:element name="SEARCH_VOCABULARY" type="xs:string"
+				minOccurs="0" />
+			<xs:element name="BROWSE_VOCABULARY" type="xs:string"
+				minOccurs="0" />
+			<xs:element name="FROM_YEAR" type="xs:int" minOccurs="0" />
+			<xs:element name="TO_YEAR" type="xs:int" minOccurs="0" />
+			<xs:element name="PERIOD_BACK_MAP" type="MapMapType"
+				minOccurs="0" />
+		</xs:all>
+		<xs:attribute name="hidden" type="xs:boolean" default="false" />
+	</xs:complexType>
+	<xs:simpleType name="SearchableTypeType">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="date" />
+			<xs:enumeration value="plain" />
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:complexType name="MapMapType">
+		<xs:sequence>
+			<xs:element name="mapEntry" type="MapMapEntryType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MapMapEntryType">
+		<xs:sequence>
+			<xs:element name="key" type="xs:anyType" />
+			<xs:element name="value" type="MapEntryType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MapType">
+		<xs:sequence>
+			<xs:element name="entry" type="MapEntryType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MapEntryType">
+		<xs:sequence>
+			<xs:element name="key" type="xs:anyType" />
+			<xs:element name="value" type="xs:anyType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DocumentDescriptionType">
+		<xs:sequence minOccurs="1">
+			<xs:element name="view" type="xs:string" maxOccurs="1" />
+			<xs:element name="documentFields" type="DocumentFieldListType"
+				minOccurs="1" maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DocumentFieldListType">
+		<xs:sequence>
+			<xs:element name="documentField" type="DocumentFieldType"
+				minOccurs="1" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DocumentFieldType">
+		<xs:sequence>
+			<xs:element name="name" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="descriptionMap" type="MapType"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="forceDescription" type="xs:boolean"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="multipleValuesDescriptionMap" type="MapType"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="vocabulary" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="switch" type="SwitchType" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="displays" type="DisplayListType"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="maxCharacters" type="xs:int" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="cutpoint" type="CutpointType" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="cssClass" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DisplayListType">
+		<xs:sequence>
+			<xs:element name="display" type="DisplayType" minOccurs="1"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SwitchType">
+		<xs:sequence>
+			<xs:element name="documentFieldMap" type="MapType"
+				minOccurs="1" maxOccurs="1" />
+		</xs:sequence>
+		<xs:attribute name="conditionField" type="xs:string" use="required" />
+		<xs:attribute name="default" type="xs:boolean" />
+	</xs:complexType>
+	<xs:simpleType name="CutpointType">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="line" />
+			<xs:enumeration value="value" />
+			<xs:enumeration value="part" />
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:complexType name="DisplayType">
+		<xs:sequence>
+			<xs:element name="displayType" type="DisplayTypeType"
+				minOccurs="1" maxOccurs="1" />
+			<xs:element name="field" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="label" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="action" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="parameter" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="descriptionMap" type="MapType"
+				minOccurs="0" maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:simpleType name="DisplayTypeType">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="plain" />
+			<xs:enumeration value="search" />
+			<xs:enumeration value="internalUrl" />
+			<xs:enumeration value="externalUrl" />
+			<xs:enumeration value="documentExternalUrl" />
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ActionManagerSetDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ActionManagerSetDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ActionManagerSetDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="RESOURCE_IDENTIFIER">
+								<xs:complexType>
+									<xs:attribute name="value" use="required" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="RESOURCE_TYPE">
+								<xs:complexType>
+									<xs:attribute name="value" use="required" type="xs:NCName" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="RESOURCE_KIND">
+								<xs:complexType>
+									<xs:attribute name="value" use="required" type="xs:NCName" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="RESOURCE_URI">
+								<xs:complexType>
+									<xs:attribute name="value" use="required" type="xs:anyURI" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="DATE_OF_CREATION">
+								<xs:complexType>
+									<xs:attribute name="value" use="required" />
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+				<xs:element name="BODY">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="SET">
+								<xs:complexType>
+									<xs:simpleContent>
+										<xs:extension base="xs:string">
+											<xs:attribute name="id" use="required" type="xs:string" />
+											<xs:attribute name="directory" use="optional" type="xs:string"/>
+										</xs:extension>
+									</xs:simpleContent>
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="IMPACT" type="xs:NCName" />
+							<xs:element name="RAW_SETS">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="LATEST" minOccurs="0" maxOccurs="1"
+											type="RAW_SET_TYPE" />
+										<xs:element name="EXPIRED" minOccurs="0" maxOccurs="unbounded"
+											type="RAW_SET_TYPE" />
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+
+							<xs:element name="STATUS">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="LAST_EXECUTION_DATE" type="xs:string"
+											nillable="true" />
+										<xs:element name="NUMBER_OF_INFOPACKAGES" type="xs:integer" />
+										<xs:element name="NUMBER_OF_ATOMICACTIONS" type="xs:integer" />
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+
+	<xs:complexType name="RAW_SET_TYPE">
+		<xs:attribute name="id" type="xs:string" use="required" />
+		<xs:attribute name="creationDate" type="xs:string" use="required" />
+		<xs:attribute name="lastUpdate" type="xs:string" use="required" />
+	</xs:complexType>
+
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CitationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CitationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CitationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,67 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element ref="RECORDS_STORED" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CitationDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CitationDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element ref="INDEX_LAST_UPDATE" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="RECORDS_STORED" type="xs:int" />
+	<xs:element name="INDEX_LAST_UPDATE" type="xs:string" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDStoreDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDStoreDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDStoreDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+  <xs:complexType name="BODYType">
+    <xs:sequence>
+      <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+      <xs:element name="STATUS" type="STATUSType"/>
+      <xs:element ref="SECURITY_PARAMETERS"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="CONFIGURATIONType">
+    <xs:all>
+      <xs:element ref="METADATA_FORMAT"/>
+      <xs:element ref="METADATA_FORMAT_INTERPRETATION"/>
+      <xs:element ref="METADATA_FORMAT_LAYOUT"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:complexType name="DATE_OF_CREATIONType">
+    <xs:attribute name="value" type="xs:dateTime" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="HEADERType">
+    <xs:all>
+      <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+      <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+      <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+      <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+      <xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_IDENTIFIERType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_KINDType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="MDStoreDSResources"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:element name="RESOURCE_PROFILE">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="HEADER" type="HEADERType"/>
+        <xs:element name="BODY" type="BODYType"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="RESOURCE_TYPEType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="MDStoreDSResourceType"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_URIType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+  <xs:complexType name="STATUSType">
+    <xs:all>
+      <xs:element ref="PENULTIMATE_STORAGE_DATE"/>
+      <xs:element ref="LAST_STORAGE_DATE"/>
+      <xs:element name="FETCHING_FREQUENCY"/>
+      <xs:element ref="NUMBER_OF_RECORDS"/>
+      <xs:element name="STATISTICS_FIELDS" type="STATISTICS_FIELDSType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:element name="METADATA_FORMAT" type="xs:string"/>
+  <xs:element name="METADATA_FORMAT_INTERPRETATION" type="xs:string"/>
+  <xs:element name="METADATA_FORMAT_LAYOUT" type="xs:string"/>
+  <xs:element name="PENULTIMATE_STORAGE_DATE" type="xs:string"/>
+  <xs:element name="LAST_STORAGE_DATE" type="xs:string"/>
+  <xs:element name="FETCHING_FREQUENCY" type="xs:string"/>
+  <xs:complexType name="VFIELDType">
+    <xs:sequence>
+      <xs:element name="VALUE" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:attribute name="name" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="FIELDType">
+    <xs:attribute name="name" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:element name="NUMBER_OF_RECORDS" type="xs:int"/>
+  <xs:complexType name="STATISTICS_FIELDSType">
+    <xs:sequence>
+      <xs:element name="FIELD" type="VFIELDType" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RepositoryServiceResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RepositoryServiceResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RepositoryServiceResourceType.xsd	(revision 47767)
@@ -0,0 +1,293 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="HEADER" type="HEADERType"/>
+                <xs:element name="BODY" type="BODYType"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+            <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+            <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+            <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+            <xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType"/>
+            <xs:element name="PROTOCOL" type="xs:string"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATION"/>
+            <xs:element name="STATUS" type="STATUS"/>
+            <xs:element name="QOS" type="QOS"/>
+            <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+            <xs:element name="BLACKBOARD" type="BLACKBOARD"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="BLACKBOARD">
+        <xs:sequence>
+            <xs:element name="LAST_REQUEST" type="xs:string" minOccurs="0" maxOccurs="1"/>
+            <xs:element name="LAST_RESPONSE" type="xs:string" minOccurs="0" maxOccurs="1"/>
+            <xs:element name="MESSAGE" type="MESSAGE" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="CONFIGURATION">
+        <xs:all>
+            <!-- Typology of the datasource: repository, aggregator, etc. -->
+            <xs:element name="DATASOURCE_TYPE" type="xs:string" minOccurs="0"/>
+            <!-- Original identifier of the datasource. Ex. <DATASOURCE_ORIGINAL_ID 
+				provenance="OpenDoar">openDoar ID</DATASOURCE_ORIGINAL_ID> It corresponds 
+				to the old schema EXTRA_FIELD with key='OpenAireDataSourceId' -->
+            <xs:element name="DATASOURCE_ORIGINAL_ID" type="DATASOURCE_ORIGINAL_IDType" minOccurs="0"/>
+
+            <!-- True if this datasource is aggregated by an aggregator -->
+            <xs:element name="DATASOURCE_AGGREGATED" minOccurs="0" type="xs:boolean"/>
+
+            <!-- If DATASOURCE_AGGREGATED is true, then DATASOURCE_AGGREGATOR_ID contains 
+				the resource identifier of the profile of the aggregator. -->
+            <xs:element name="DATASOURCE_AGGREGATOR_ID" type="xs:string" minOccurs="0"/>
+            <!-- Names of environments with services that are allowed to manage this 
+				datasource. For example, the environment for Slovenia repositories is SLOVENIA, 
+				while the environment for repositories joining the OpenAire project is OpenAire. 
+				This list of environment name supercedes the old schema EXTRA_FIELD element 
+				with key='aggregatorName' -->
+            <xs:element name="ENVIRONMENTS" type="ENVIRONMENTSType" minOccurs="0" maxOccurs="1"/>
+            <xs:element name="TYPOLOGY" type="xs:string"/>
+            <xs:element name="MAX_SIZE_OF_DATASTRUCTURE" type="xs:integer"/>
+            <xs:element name="AVAILABLE_DISKSPACE" type="xs:string"/>
+            <xs:element name="MAX_NUMBER_OF_DATASTRUCTURE" type="xs:integer"/>
+            <xs:element name="OFFICIAL_NAME" type="xs:string"/>
+            <xs:element name="ENGLISH_NAME" type="xs:string"/>
+            <xs:element name="ICON_URI" type="xs:string"/>
+            <xs:element name="COUNTRY" type="xs:string"/>
+            <xs:element name="LOCATION" type="LOCATION"/>
+            <xs:element name="REPOSITORY_WEBPAGE" type="xs:string"/>
+            <xs:element name="REPOSITORY_INSTITUTION" type="xs:string"/>
+            <xs:element name="ADMIN_INFO" type="xs:string"/>
+            <xs:element name="INTERFACES" type="INTERFACES"/>
+            <xs:element name="REGISTERED_BY" type="xs:string" minOccurs="0"/>
+            <xs:element name="EXTRA_FIELDS" type="EXTRA_FIELDS" minOccurs="0"/>
+        </xs:all>
+    </xs:complexType>
+
+    <xs:complexType name="DATASOURCE_ORIGINAL_IDType">
+        <xs:annotation>
+            <xs:documentation>Type for the datasource original identifier.
+				The
+				original id is not the D-Net profile identifier, but an id that
+				identifies the datasource itself in the outside world.
+				The provenance
+				attribute references to the organisation,institution,
+				etc, where the
+				id had been taken from.
+				For example, the profile for a repository
+				that is in OpenDoar will have
+				its opendoar id with provenance
+				'OpenDoar'.
+				This field should be used instead of the old schema
+				EXTRA_FIELD with key='OpenAireDataSourceId'</xs:documentation>
+        </xs:annotation>
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute name="provenance"/>
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+    <xs:complexType name="ACCESSPROTOCOLDATACOLLType">
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:anyAttribute processContents="lax"/>
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
+    <xs:complexType name="LAST_UPDATEType">
+        <xs:attribute name="value" type="xs:dateTime" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="LOCATION">
+        <xs:all>
+            <xs:element name="LONGITUDE" type="xs:double"/>
+            <xs:element name="LATITUDE" type="xs:double"/>
+            <xs:element name="TIMEZONE">
+                <xs:simpleType>
+                    <xs:restriction base="xs:double">
+                        <xs:pattern value="-?[0-9]*(\.[05])?"/>
+                        <xs:minInclusive value="-12.0"/>
+                        <xs:maxInclusive value="12.0"/>
+                    </xs:restriction>
+                </xs:simpleType>
+            </xs:element>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType mixed="true" name="STATUS">
+        <xs:all>
+            <xs:element name="HANDLED_DATASTRUCTURE" type="xs:integer" minOccurs="0"/>
+            <xs:element name="USED_DISKSPACE" type="xs:integer" minOccurs="0"/>
+            <xs:element name="NUMBER_OF_OBJECTS" type="xs:integer"/>
+            <xs:element name="LAST_UPDATE" type="LAST_UPDATEType" minOccurs="0"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:simpleType name="ACTION_STATUS">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="DONE"/>
+            <xs:enumeration value="ONGOING"/>
+            <xs:enumeration value="FAILED"/>
+            <xs:enumeration value="WAITING"/>
+            <xs:enumeration value="ASSIGNED"/>
+        </xs:restriction>
+    </xs:simpleType>
+   
+    <xs:complexType name="INTERFACE">
+        <xs:sequence>
+            <xs:element name="ACCESS_PROTOCOL">
+                <xs:complexType>
+                    <xs:simpleContent>
+                        <xs:extension base="xs:string">
+                            <xs:anyAttribute processContents="lax"/>
+                        </xs:extension>
+                    </xs:simpleContent>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="BASE_URL" type="xs:string"/>
+           
+            
+            <xs:element name="INTERFACE_EXTRA_FIELD" minOccurs="0" maxOccurs="unbounded">
+                <xs:complexType>
+                    <xs:simpleContent>
+                        <xs:extension base="xs:string">
+                            <xs:attribute name="name" use="required" type="xs:string"/>
+                        </xs:extension>
+                    </xs:simpleContent>
+                </xs:complexType>
+            </xs:element>
+        </xs:sequence>
+
+        <!-- The attributes id, typology, group have been imported from the Datacoll Type
+			to keep track of the correspondence: interface <-> datacoll  -->
+
+        <!-- id of the interface. -->
+        <xs:attribute name="id" type="xs:string" use="required"/>
+
+        <!-- label of the interface. -->
+        <xs:attribute name="label" type="xs:string" use="required"/>
+
+        <!-- brief information/description about the interface -->
+        <xs:attribute name="typology" type="xs:string"/>
+
+        <!-- 
+        	Indicates if this interface is related with almost one workflow
+        -->
+        <xs:attribute name="compliance" type="xs:string" use="required"/>
+
+        <!-- 
+        	Indicates if this interface is related with almost one workflow
+         -->
+
+        <xs:attribute name="active" type="xs:boolean" use="required"/>
+
+        <!-- 
+        	Indicates if this interface is related with almost one workflow
+         -->
+        <xs:attribute name="removable" type="xs:boolean" use="required"/>
+        
+		<!-- 
+        	Indicates the description of the data provided by the interface (typical values are metadata, file::WoS, file::PDF, file::EuropePMC)  
+		-->
+        <xs:attribute name="contentDescription" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="ENVIRONMENTSType">
+        <xs:annotation>
+            <xs:documentation>The list of environments that can manage this
+				datasource.
+				An environment identifies a set of services of one or
+				more D-Net
+				installations.
+				The element ENVIRONMENT supercedes the
+				EXTRA_FIELD element with
+				key='aggregatorName'.</xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="ENVIRONMENT" type="xs:string" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="INTERFACES">
+        <xs:sequence>
+            <xs:element name="INTERFACE" type="INTERFACE" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="EXTRA_FIELDS">
+        <xs:sequence>
+            <xs:element name="FIELD" type="FieldType" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="FieldType">
+        <xs:all>
+            <xs:element name="key" type="xs:string"/>
+            <xs:element name="value" type="xs:string"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="RepositoryServiceResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="RepositoryServiceResources"/>
+                    <xs:enumeration value="PendingRepositoryResources"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="DATE_OF_CREATIONType">
+        <xs:attribute name="value" type="xs:dateTime" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="QOS">
+        <xs:sequence>
+            <xs:element name="AVAILABILITY" type="xs:string"/>
+            <xs:element name="CAPACITY" type="xs:string"/>
+            <xs:element name="RESPONSE_TIME" type="xs:string" minOccurs="0"/>
+            <xs:element name="THROUGHPUT" type="xs:double"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="PARAMETERS">
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute name="name" type="xs:string" use="required"/>
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+    <xs:complexType name="MESSAGE">
+        <xs:sequence>
+            <xs:element name="ACTION" type="ACTION"/>
+            <xs:element name="PARAMETERS" type="PARAMETERS" maxOccurs="unbounded"/>
+            <xs:element name="ACTION_STATUS" type="ACTION_STATUS"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:simpleType name="ACTION">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="CREATE"/>
+            <xs:enumeration value="DELETE"/>
+            <xs:enumeration value="UPDATE"/>
+            <xs:enumeration value="MANAGE"/>
+            <xs:enumeration value="RELEASE"/>
+            <xs:enumeration value="CANCEL"/>
+        </xs:restriction>
+    </xs:simpleType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OAIPublisherConfigurationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OAIPublisherConfigurationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OAIPublisherConfigurationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,207 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:annotation>
+        <xs:documentation>Standard part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="HEADER" type="HEADERType"/>
+                <xs:element name="BODY" type="BODYType"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+            <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+            <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+            <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+            <xs:element name="DATE_OF_CREATION" type="DATEType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+            <xs:element name="STATUS" type="STATUSType"/>
+            <xs:element ref="SECURITY_PARAMETERS"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="OAIPublisherConfigurationDSResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="OAIPublisherConfigurationDSResources"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="DATEType">
+        <xs:attribute name="value" type="xs:dateTime" use="required"/>
+    </xs:complexType>
+    <xs:annotation>
+        <xs:documentation>Customisable part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:sequence>
+            <xs:element name="IDSCHEME" type="xs:string"/>
+            <xs:element name="IDNAMESPACE" type="xs:string"/>
+            <xs:element name="CURRENTDB" type="xs:string"/>
+            <xs:element name="OAISETS" type="OAISETSType"/>
+            <xs:element name="METADATAFORMATS" type="METADATAFORMATSType"/>
+            <xs:element name="INDICES" type="INDICESType"/>
+            <xs:element name="ENRICHMENT" type="ENRICHMENTType" minOccurs="0"/>
+        </xs:sequence>
+    </xs:complexType>
+    
+    <xs:complexType name="ENRICHMENTType">
+        <xs:annotation>
+            <xs:documentation>ENRICHMENT: xpaths to identify when a record has
+                been enriched
+                and must thus be inserted into a special
+                "setSpec_enriched"</xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+        <xs:element name="XPATH" minOccurs="0" maxOccurs="unbounded">
+            <xs:complexType>
+                <xs:attribute name="interpretation" type="xs:string" use="required"/>
+                <xs:attribute name="layout" type="xs:string" use="required"/>
+                <xs:attribute name="name" type="xs:string" use="required"/>
+                <xs:attribute name="path" type="xs:string" use="required"/>
+            </xs:complexType>
+        </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="OAISETSType">
+        <xs:sequence>
+            <xs:element name="OAISET" type="OAISETType" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="OAISETType">
+        <xs:annotation>
+            <xs:documentation>
+                Definition of the OAI sets to export.
+                <ul>
+                    <li>element spec: the setSpec.</li>
+                    <li>element name: the name of the set</li>
+                    <li>element description: description of the set</li>
+                    <li>element query: records in this set are results of this query</li>
+                    <li>attribute enabled: is the OAI set to export? Default is true</li>
+                </ul>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="spec" type="xs:string" minOccurs="1" maxOccurs="1"/>
+            <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
+            <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1"/>
+            <xs:element name="query" type="xs:string" minOccurs="1" maxOccurs="1"/>
+        </xs:sequence>
+        <xs:attribute name="enabled" type="xs:boolean" use="optional"/>
+    </xs:complexType>
+    <xs:complexType name="METADATAFORMATSType">
+        <xs:sequence>
+            <xs:element name="METADATAFORMAT" type="METADATAFORMATType" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="METADATAFORMATType">
+        <xs:annotation>
+            <xs:documentation>
+                <ul>
+                    <li>@exportable: true if we want to export
+                        the metadata format via
+                        OAI-PMH. Default is false.</li>
+                    <li>@metadataPrefix: metadata prefix to be used for
+                        OAI-PMH call.
+                        E.g.,
+                        oai_dc</li>
+                    <li>NAMESPACE: target metadata format
+                        namespace (xmlns). E.g.,
+                        http://www.openarchives.org/OAI/2.0/oai_dc/</li>
+                    <li/>
+                    <li>SCHEMA: URL to the XML Schema. E.g.,
+                        http://www.openarchives.org/OAI/2.0/oai_dc.xsd</li>
+                    <li>SOURCE_METADATA_FORMAT/@name: metadata format of the mdstores
+                        to be used as sources</li>
+                    <li>SOURCE_METADATA_FORMAT/@interpretation: interpretation of the
+                        mdstores to be used as sources</li>
+                    <li>SOURCE_METADATA_FORMAT/@layout: layout of the mdstores to be
+                        used as sources</li>
+                    <li>TRANSFORMATION_RULE: identifier of the transformation to apply
+                        to source records and transform them into the target
+                        format</li>
+                    <li>BASE_QUERY: base query to apply to filter records to export</li>
+                </ul>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="NAMESPACE" type="xs:string" minOccurs="1" maxOccurs="1"/>
+            <xs:element name="SCHEMA" type="xs:string" minOccurs="1" maxOccurs="1"/>
+            <xs:element name="SOURCE_METADATA_FORMAT">
+                <xs:complexType>
+                    <xs:attribute name="name" type="xs:string" use="required"/>
+                    <xs:attribute name="interpretation" type="xs:string" use="required"/>
+                    <xs:attribute name="layout" type="xs:string" use="required"/>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="TRANSFORMATION_RULE" type="xs:string" minOccurs="0" maxOccurs="1"/>
+            <xs:element name="BASE_QUERY" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        </xs:sequence>
+        <xs:attribute name="exportable" type="xs:boolean" use="optional"/>
+        <xs:attribute name="metadataPrefix" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="INDICESType">
+        <xs:annotation>
+            <xs:documentation>
+                One INDEX element represents one index to be created in the
+                PublisherStore.
+                When defining one index, you need to specify where to
+                find the value to
+                be stored in that indexed field for each source
+                metadata formats.
+                <ul>
+                    <li>SOURCE: information to identify one source metadata format</li>
+                    <li>SOURCE/@path: xpath where to find the value to be used in the
+                        indexed field.</li>
+                </ul>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="INDEX" minOccurs="0" maxOccurs="unbounded">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="SOURCE" minOccurs="0" maxOccurs="unbounded">
+                            <xs:complexType>
+                                <xs:attribute name="interpretation" type="xs:string" use="required"/>
+                                <xs:attribute name="layout" type="xs:string" use="required"/>
+                                <xs:attribute name="name" type="xs:string" use="required"/>
+                                <xs:attribute name="path" type="xs:string" use="required"/>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                    <xs:attribute name="name" type="xs:string" use="required"/>
+                    <xs:attribute name="repeatable" type="xs:boolean" use="required"/>
+                </xs:complexType>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="STATUSType">
+        <xs:all>
+            <xs:element name="LAST_UPDATE" type="DATEType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupOrchestrationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupOrchestrationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupOrchestrationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="HEADER" />
+				<xs:element ref="BODY" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="HEADER">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="RESOURCE_IDENTIFIER" />
+				<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+				<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+				<xs:element ref="RESOURCE_URI" />
+				<xs:element ref="DATE_OF_CREATION" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_IDENTIFIER">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="DedupOrchestrationDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="DedupOrchestrationDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+
+	<xs:element name="RESOURCE_URI">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DATE_OF_CREATION">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="BODY">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="CONFIGURATION" />
+				<xs:element ref="STATUS" />
+				<xs:element ref="SECURITY_PARAMETERS" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="CONFIGURATION">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="DEDUPLICATION" />
+			</xs:sequence>
+			<xs:attribute name="enabled" use="required" type="xs:boolean" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DEDUPLICATION">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="ENTITY" />
+				<xs:element ref="ACTION_SET" />
+				<xs:element ref="SCAN_SEQUENCE" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="ENTITY">
+		<xs:complexType>
+			<xs:attribute name="code" use="required" type="xs:integer" />
+			<xs:attribute name="label" use="required" type="xs:NCName" />
+			<xs:attribute name="name" use="required" type="xs:NCName" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="ACTION_SET">
+		<xs:complexType>
+			<xs:attribute name="id" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SCAN_SEQUENCE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element maxOccurs="unbounded" ref="SCAN" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SCAN">
+		<xs:complexType>
+			<xs:attribute name="id" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="STATUS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LAST_UPDATE" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LAST_UPDATE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:NCName" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupConfigurationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupConfigurationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupConfigurationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="HEADER" />
+				<xs:element ref="BODY" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="HEADER">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="RESOURCE_IDENTIFIER" />
+				<xs:element ref="RESOURCE_TYPE" />
+				<xs:element ref="RESOURCE_KIND" />
+				<xs:element ref="RESOURCE_URI" />
+				<xs:element ref="DATE_OF_CREATION" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_IDENTIFIER">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_TYPE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_KIND">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:NCName" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_URI">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DATE_OF_CREATION">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="BODY">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="CONFIGURATION" />
+				<xs:element ref="STATUS" />
+				<xs:element ref="SECURITY_PARAMETERS" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="CONFIGURATION">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="DESCRIPTION" />
+				<xs:element ref="DEDUPLICATION" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DEDUPLICATION"/>
+	<xs:element name="DESCRIPTION" type="xs:string" />
+	<xs:element name="ENTITY">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="PACE" />
+				<xs:element ref="WORKFLOW" />
+			</xs:sequence>
+			<xs:attribute name="name" use="required" type="xs:NCName" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="PACE" type="xs:string" />
+	<xs:element name="WORKFLOW" type="xs:string" />
+	<xs:element name="STATUS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LAST_UPDATE" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LAST_UPDATE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:NCName" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDFormatDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDFormatDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MDFormatDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:annotation>
+		<xs:documentation>Standard part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="MDFormatDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="MDFormatDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATEType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:annotation>
+		<xs:documentation>Customisable part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element name="NAME" type="xs:string" />
+			<xs:element name="INTERPRETATION" type="xs:string" />
+			<xs:element name="DESCRIPTION" type="xs:string" />
+			<xs:element name="SCHEMA">
+				<xs:complexType>
+					<xs:attribute name="uri" type="xs:anyURI" use="required" />
+				</xs:complexType>
+			</xs:element>
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="TERMType">
+		<xs:attribute name="name" type="xs:string" use="required" />
+		<xs:attribute name="Prefix" type="xs:string" use="required" />
+		<xs:attribute name="NameSpace" type="xs:string" use="required" />
+		<xs:attribute name="Schema" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element name="LAYOUTS">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="LAYOUT" minOccurs="0" maxOccurs="unbounded">
+							<xs:complexType>
+								<xs:all>
+									<xs:element name="FIELDS">
+										<xs:complexType>
+											<xs:sequence>
+												<xs:element name="FIELD" minOccurs="0" maxOccurs="unbounded">
+													<xs:complexType>
+														<xs:attribute name="name" type="xs:string"
+															use="required" />
+														<xs:attribute name="value" type="xs:string" />
+														<xs:attribute name="constant" type="xs:string" />
+														<xs:attribute name="xpath" type="xs:string" />
+														<xs:attribute name="path" type="xs:string" />
+														<xs:attribute name="indexable" type="xs:boolean"
+															use="required" />
+														<xs:attribute name="result" type="xs:boolean"
+															use="required" />
+														<xs:attribute name="header" type="xs:boolean" />
+														<xs:attribute name="type" type="xs:string" />
+														<xs:attribute name="stat" type="xs:boolean" />
+														<xs:attribute name="tokenizable" type="xs:boolean" />
+														<xs:attribute name="browsingAliasFor" type="xs:string" />
+														<xs:attribute name="multivalued" type="xs:boolean" />
+														<xs:attribute name="stored" type="xs:boolean" />
+													</xs:complexType>
+												</xs:element>
+											</xs:sequence>
+										</xs:complexType>
+									</xs:element>
+									<xs:element name="TRANSFORMATION" minOccurs="0">
+										<xs:complexType mixed="true">
+											<xs:complexContent mixed="true">
+												<xs:restriction base="xs:anyType">
+													<xs:sequence>
+														<xs:any processContents="lax" minOccurs="0"
+															maxOccurs="unbounded" />
+													</xs:sequence>
+													<xs:attribute name="type" type="xs:string"
+														use="required" />
+												</xs:restriction>
+											</xs:complexContent>
+										</xs:complexType>
+									</xs:element>
+									<xs:element name="RULES" minOccurs="0">
+										<xs:complexType>
+											<xs:sequence>
+												<xs:element name="RULE" minOccurs="0" maxOccurs="unbounded" />
+											</xs:sequence>
+										</xs:complexType>
+									</xs:element>
+								</xs:all>
+								<xs:attribute name="name" type="xs:string" use="required" />
+							</xs:complexType>
+						</xs:element>
+					</xs:sequence>
+				</xs:complexType>
+			</xs:element>
+		</xs:all>
+	</xs:complexType>
+</xs:schema>
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/HadoopJobConfigurationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/HadoopJobConfigurationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/HadoopJobConfigurationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="HEADER"/>
+				<xs:element ref="BODY"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="HEADER">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="RESOURCE_IDENTIFIER"/>
+				<xs:element ref="RESOURCE_TYPE"/>
+				<xs:element ref="RESOURCE_KIND"/>
+				<xs:element ref="RESOURCE_URI"/>
+				<xs:element ref="DATE_OF_CREATION"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_IDENTIFIER">
+		<xs:complexType>
+			<xs:attribute name="value" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_TYPE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_KIND">
+		<xs:complexType>
+			<xs:attribute name="value" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_URI">
+		<xs:complexType>
+			<xs:attribute name="value" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DATE_OF_CREATION">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="BODY">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="HADOOP_JOB"/>
+				<xs:element ref="STATUS"/>
+				<xs:element ref="SECURITY_PARAMETERS"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="HADOOP_JOB">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="DESCRIPTION"/>
+				<xs:element ref="STATIC_CONFIGURATION"/>
+				<xs:element ref="JOB_INTERFACE"/>
+				<xs:element ref="SCAN" minOccurs="0" maxOccurs="1"/>
+			</xs:sequence>
+			<xs:attribute name="name" use="required" type="xs:string"/>
+			<xs:attribute name="type" use="required">
+				<xs:simpleType>
+					<xs:restriction base="xs:string">
+						<xs:enumeration value="mapreduce"/>
+						<xs:enumeration value="oozie"/>
+                        <xs:enumeration value="admin"/>
+					</xs:restriction>
+				</xs:simpleType>
+			</xs:attribute>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DESCRIPTION" type="xs:string"/>
+	<xs:element name="STATIC_CONFIGURATION">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element maxOccurs="unbounded" ref="PROPERTY"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="PROPERTY">
+		<xs:complexType>
+			<xs:attribute name="key" use="required" type="xs:NCName"/>
+			<xs:attribute name="value" use="required"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="JOB_INTERFACE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element maxOccurs="unbounded" minOccurs="0" ref="PARAM"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="PARAM">
+		<xs:complexType>
+			<xs:attribute name="description" use="required"/>
+			<xs:attribute name="name" use="required" type="xs:NCName"/>
+			<xs:attribute name="required" use="required" type="xs:boolean"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SCAN">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="FILTERS"/>
+				<xs:element ref="FAMILIES"/>
+			</xs:sequence>
+			<xs:attribute name="caching" use="optional" type="xs:integer"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="FILTERS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="FILTER" minOccurs="0" maxOccurs="unbounded"/>
+			</xs:sequence>
+			<!-- The operator is OPTIONAL, when it is missing the default value is MUST_PASS_ALL -->
+			<xs:attribute name="operator" use="optional" type="operatortype"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="FILTER">
+		<xs:complexType>
+			<xs:attribute name="type" use="required" type="filtertype"/>
+			<xs:attribute name="param" type="xs:string" use="optional"/>
+			<xs:attribute name="value" type="xs:string" use="optional"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="FAMILIES">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="FAMILY" minOccurs="0" maxOccurs="unbounded"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="FAMILY">
+		<xs:complexType>
+			<xs:attribute name="param" use="optional" type="xs:string"/>
+			<xs:attribute name="value" use="optional" type="xs:string"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="STATUS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LAST_SUBMISSION_DATE"/>
+				<xs:element ref="RUNNING_INSTANCES"/>
+				<xs:element ref="CUMULATIVE_RUN"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LAST_SUBMISSION_DATE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RUNNING_INSTANCES">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:integer"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="CUMULATIVE_RUN">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:integer"/>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:NCName"/>
+	<xs:simpleType name="filtertype">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="prefix"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name="operatortype">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="MUST_PASS_ALL"/>
+			<xs:enumeration value="MUST_PASS_ONE"/>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ObjectStoreDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ObjectStoreDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ObjectStoreDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+            <xs:element name="STATUS" type="STATUSType"/>
+            <xs:element ref="SECURITY_PARAMETERS"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:all>
+            <xs:element ref="OBJECTSTORE_INTERPRETATION"/>            
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="DATE_OF_CREATIONType">
+        <xs:attribute name="value" type="xs:dateTime" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+            <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+            <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+            <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+            <xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="ObjectStoreDSResources"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="HEADER" type="HEADERType"/>
+                <xs:element name="BODY" type="BODYType"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="ObjectStoreDSResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+    <xs:complexType name="STATUSType">
+        <xs:all>
+            <xs:element ref="PENULTIMATE_STORAGE_DATE"/>
+            <xs:element ref="LAST_STORAGE_DATE"/>
+            <xs:element name="FETCHING_FREQUENCY"/>
+            <xs:element ref="COUNT_STORE"/>
+            <xs:element ref="STORE_SIZE"/>
+            <xs:element name="STATISTICS_FIELDS" type="STATISTICS_FIELDSType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:element name="OBJECTSTORE_INTERPRETATION" type="xs:string"/>
+    <xs:element name="PENULTIMATE_STORAGE_DATE" type="xs:string"/>
+    <xs:element name="LAST_STORAGE_DATE" type="xs:string"/>
+    <xs:element name="FETCHING_FREQUENCY" type="xs:string"/>
+    <xs:complexType name="VFIELDType">
+        <xs:sequence>
+            <xs:element name="VALUE" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
+        </xs:sequence>
+        <xs:attribute name="name" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="FIELDType">
+        <xs:attribute name="name" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:element name="COUNT_STORE" type="xs:int"/>
+    <xs:element name="STORE_SIZE" type="xs:int"/>
+    <xs:complexType name="STATISTICS_FIELDSType">
+        <xs:sequence>
+            <xs:element name="FIELD" type="VFIELDType" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/IndexDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/IndexDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/IndexDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element type="CONFIGURATIONType" name="CONFIGURATION"/>
+            <xs:element type="STATUSType" name="STATUS"/>
+            <xs:element ref="SECURITY_PARAMETERS"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:all>
+            <xs:element ref="METADATA_FORMAT"/>
+            <xs:element ref="METADATA_FORMAT_INTERPRETATION"/>
+            <xs:element ref="METADATA_FORMAT_LAYOUT"/>
+            <xs:element ref="BACKEND"/>
+            <xs:element ref="INDEX_SIZE"/>
+            <xs:element ref="INDEX_STALE"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="DATE_OF_CREATIONType">
+        <xs:attribute name="value" use="required" type="xs:string"/>
+    </xs:complexType>
+    <xs:complexType name="BACKENDType">        
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute type="xs:string" use="required" name="ID"/> 
+            </xs:extension>            
+        </xs:simpleContent>        
+    </xs:complexType>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element type="RESOURCE_IDENTIFIERType" name="RESOURCE_IDENTIFIER"/>
+            <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+            <xs:element type="RESOURCE_KINDType" name="RESOURCE_KIND"/>
+            <xs:element type="RESOURCE_URIType" name="RESOURCE_URI"/>
+            <xs:element type="DATE_OF_CREATIONType" name="DATE_OF_CREATION"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute use="required" type="xs:string" name="value"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="IndexDSResources"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element type="HEADERType" name="HEADER"/>
+                <xs:element type="BODYType" name="BODY"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute use="required" name="value">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="IndexDSResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+    <xs:complexType name="STATUSType">
+        <xs:all>
+            <xs:element ref="INDEX_LAST_UPDATE"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:element name="INDEX_SIZE" type="xs:int"/>
+    <xs:element name="INDEX_STALE" type="xs:boolean"/>
+    <xs:element type="xs:string" name="METADATA_FORMAT"/>
+    <xs:element type="xs:string" name="METADATA_FORMAT_INTERPRETATION"/>
+    <xs:element type="xs:string" name="METADATA_FORMAT_LAYOUT"/>
+    <xs:element type="BACKENDType" name="BACKEND"/>
+    <xs:element type="xs:string" name="INDEX_LAST_UPDATE"/>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OntologyDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OntologyDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/OntologyDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,117 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+  <xs:annotation>
+    <xs:documentation>Standard part of any Resource Profile</xs:documentation>
+  </xs:annotation>
+  <xs:element name="RESOURCE_PROFILE">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="HEADER" type="HEADERType"/>
+        <xs:element name="BODY" type="BODYType"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="HEADERType">
+    <xs:all>
+      <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+      <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+      <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+      <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+      <xs:element name="DATE_OF_CREATION" type="DATEType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:complexType name="BODYType">
+    <xs:sequence>
+      <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+      <xs:element name="STATUS" type="STATUSType"/>
+      <xs:element ref="SECURITY_PARAMETERS"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_IDENTIFIERType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_TYPEType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="OntologyDSResourceType"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_KINDType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="OntologyDSResources"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_URIType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="DATEType">
+    <xs:attribute name="value" type="xs:dateTime" use="required"/>
+  </xs:complexType>
+  <xs:annotation>
+    <xs:documentation>Customisable part of any Resource Profile</xs:documentation>
+  </xs:annotation>
+  <xs:complexType name="CONFIGURATIONType">
+    <xs:sequence>
+      <xs:element ref="ONTOLOGY_NAME" />
+      <xs:element ref="ONTOLOGY_DESCRIPTION"/>
+      <xs:element name="TERMS" type="ONTOLOGYTERMType"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="ONTOLOGYTERMType">
+    <xs:sequence>
+      <xs:element name="TERM" type="TERMType" maxOccurs="unbounded" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="TERMType">
+    <xs:sequence>
+      <xs:element name="SYNONYMS">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="SYNONYM" type="SYNONYMType" minOccurs="0" maxOccurs="unbounded"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    	<xs:element name="RELATIONS" minOccurs="0">
+    		<xs:complexType>
+    			<xs:sequence>
+    				<xs:element name="RELATION" type="RELATIONType" minOccurs="0" maxOccurs="unbounded"/>
+    			</xs:sequence>
+    		</xs:complexType>    		
+    	</xs:element>	
+    </xs:sequence>
+    <xs:attribute name="encoding" type="xs:string" use="required"/>
+    <xs:attribute name="english_name" type="xs:string" use="required"/>
+    <xs:attribute name="native_name" type="xs:string" use="required"/>
+    <xs:attribute name="code" type="xs:string" use="optional"/>
+  </xs:complexType>
+  <xs:complexType name="SYNONYMType">
+    <xs:attribute name="encoding" type="xs:string" use="required"/>
+    <xs:attribute name="term" type="xs:string" use="required"/>
+  </xs:complexType>
+	<xs:complexType name="RELATIONType">
+		<xs:attribute name="type" type="xs:string" use="required"/>
+		<xs:attribute name="code" type="xs:string" use="required"/>
+	</xs:complexType>	
+  <xs:complexType name="STATUSType">
+    <xs:all>
+      <xs:element name="LAST_UPDATE" type="DATEType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:element name="ONTOLOGY_NAME">
+	<xs:complexType>
+    	<xs:simpleContent>
+      		<xs:extension base="xs:string">
+				<xs:attribute name="code" type="xs:string" use="optional"></xs:attribute>
+   			</xs:extension>
+      	</xs:simpleContent>
+   </xs:complexType>
+  </xs:element>
+  <xs:element name="ONTOLOGY_DESCRIPTION" type="xs:string"/>
+  <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+</xs:schema>
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/VocabularyDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/VocabularyDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/VocabularyDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,117 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+  <xs:annotation>
+    <xs:documentation>Standard part of any Resource Profile</xs:documentation>
+  </xs:annotation>
+  <xs:element name="RESOURCE_PROFILE">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="HEADER" type="HEADERType"/>
+        <xs:element name="BODY" type="BODYType"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="HEADERType">
+    <xs:all>
+      <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+      <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
+      <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
+      <xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
+      <xs:element name="DATE_OF_CREATION" type="DATEType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:complexType name="BODYType">
+    <xs:sequence>
+      <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+      <xs:element name="STATUS" type="STATUSType"/>
+      <xs:element ref="SECURITY_PARAMETERS"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_IDENTIFIERType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_TYPEType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="VocabularyDSResourceType"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_KINDType">
+    <xs:attribute name="value" use="required">
+      <xs:simpleType>
+        <xs:restriction base="xs:string">
+          <xs:enumeration value="VocabularyDSResources"/>
+        </xs:restriction>
+      </xs:simpleType>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RESOURCE_URIType">
+    <xs:attribute name="value" type="xs:string" use="required"/>
+  </xs:complexType>
+  <xs:complexType name="DATEType">
+    <xs:attribute name="value" type="xs:dateTime" use="required"/>
+  </xs:complexType>
+  <xs:annotation>
+    <xs:documentation>Customisable part of any Resource Profile</xs:documentation>
+  </xs:annotation>
+  <xs:complexType name="CONFIGURATIONType">
+    <xs:sequence>
+      <xs:element ref="VOCABULARY_NAME" />
+      <xs:element ref="VOCABULARY_DESCRIPTION"/>
+      <xs:element name="TERMS" type="VOCABULARYTERMType"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="VOCABULARYTERMType">
+    <xs:sequence>
+      <xs:element name="TERM" type="TERMType" maxOccurs="unbounded" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="TERMType">
+    <xs:sequence>
+      <xs:element name="SYNONYMS">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="SYNONYM" type="SYNONYMType" minOccurs="0" maxOccurs="unbounded"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    	<xs:element name="RELATIONS" minOccurs="0">
+    		<xs:complexType>
+    			<xs:sequence>
+    				<xs:element name="RELATION" type="RELATIONType" minOccurs="0" maxOccurs="unbounded"/>
+    			</xs:sequence>
+    		</xs:complexType>    		
+    	</xs:element>	
+    </xs:sequence>
+    <xs:attribute name="encoding" type="xs:string" use="required"/>
+    <xs:attribute name="english_name" type="xs:string" use="required"/>
+    <xs:attribute name="native_name" type="xs:string" use="required"/>
+    <xs:attribute name="code" type="xs:string" use="optional"/>
+  </xs:complexType>
+  <xs:complexType name="SYNONYMType">
+    <xs:attribute name="encoding" type="xs:string" use="required"/>
+    <xs:attribute name="term" type="xs:string" use="required"/>
+  </xs:complexType>
+	<xs:complexType name="RELATIONType">
+		<xs:attribute name="type" type="xs:string" use="required"/>
+		<xs:attribute name="code" type="xs:string" use="required"/>
+	</xs:complexType>	
+  <xs:complexType name="STATUSType">
+    <xs:all>
+      <xs:element name="LAST_UPDATE" type="DATEType"/>
+    </xs:all>
+  </xs:complexType>
+  <xs:element name="VOCABULARY_NAME">
+	<xs:complexType>
+    	<xs:simpleContent>
+      		<xs:extension base="xs:string">
+				<xs:attribute name="code" type="xs:string" use="optional"></xs:attribute>
+   			</xs:extension>
+      	</xs:simpleContent>
+   </xs:complexType>
+  </xs:element>
+  <xs:element name="VOCABULARY_DESCRIPTION" type="xs:string"/>
+  <xs:element name="SECURITY_PARAMETERS" type="xs:string"/>
+</xs:schema>
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SystemManagementDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SystemManagementDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SystemManagementDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,149 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:annotation>
+		<xs:documentation>Standard part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SystemManagementDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SystemManagementDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATEType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:annotation>
+		<xs:documentation>Customisable part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element ref="NAME" />
+			<xs:element name="MANAGER_SERVICE_ID" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="QoSTHRESHOLDS" type="QoSType" />
+			<xs:element name="MAPPINGS" type="MAPPINGSType" />
+			<xs:element name="FIELD_SETTINGS" type="FIELD_SETTINGSType" />
+			<xs:element name="INFOSPACE_VIEWS" type="INFOSPACE_VIEWSType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="QoSType">
+		<xs:sequence>
+			<xs:element name="SERVICE_TYPE" type="SERVICEType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SERVICEType">
+		<xs:all>
+			<xs:element ref="NAME" />
+			<xs:element name="REPLICAS" type="REPLICASType" />
+			<xs:element name="INSTANCES" type="INSTANCESType" />
+			<xs:element name="EFFICIENCY " type="EFFICIENCYType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="MAPPINGSType">
+		<xs:sequence>
+			<xs:element name="MAPPING" type="MAPPINGType" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MAPPINGType">
+		<xs:all>
+			<xs:element name="PENDING_TYPOLOGY" type="xs:string" />
+			<xs:element name="RESOURCE_KIND" type="xs:string" />
+			<xs:element name="RESOURCE_TYPES" type="RESOURCETYPESType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="INFOSPACE_VIEWSType">
+		<xs:sequence>
+			<xs:element name="VIEW" type="xs:string" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="FIELD_SETTINGSType">
+		<xs:sequence>
+			<xs:element name="FIELD_SETTING" type="FIELD_SETTINGType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="FIELD_SETTINGType">
+		<xs:sequence>
+			<xs:element name="NAME" type="xs:string" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="name" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCETYPESType">
+		<xs:sequence>
+			<xs:element name="RESOURCE_TYPE" type="xs:string"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="REPLICASType">
+		<xs:all>
+			<xs:element name="MIN_NUMBER" type="xs:int" />
+			<xs:element name="MAX_NUMBER" type="xs:int" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="INSTANCESType">
+		<xs:all>
+			<xs:element name="MIN_NUMBER" type="xs:int" />
+			<xs:element name="MAX_NUMBER" type="xs:int" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="EFFICIENCYType">
+		<xs:all>
+			<xs:element name="MIN_AVAILABILITY" type="xs:int" />
+			<xs:element name="MIN_CAPACITY" type="xs:int" />
+			<xs:element name="MIN_RESPONSE_TIME" type="xs:int" />
+			<xs:element name="MIN_THROUGHPUT" type="xs:int" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element name="LAST_UPDATE" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="NAME" type="xs:string" />
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CommunityDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CommunityDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CommunityDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,112 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CommunityDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="CommunityDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="NAME">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="OWNER">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="DESCRIPTION">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="COLLECTIONS" type="COLLECTIONSType" />
+			<xs:element name="MANAGERS" type="MANAGERSType" />
+			<xs:element name="RECOMMENDATIONS" type="RECOMMENDATIONSType" />
+			<xs:element name="authoritativeDocuments" type="authoritativeDocumentsType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="COLLECTIONSType">
+		<xs:sequence>
+			<xs:element name="COLLECTION" type="COLLECTIONType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="COLLECTIONType">
+		<xs:attribute name="collection" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="authoritativeDocumentsType">
+		<xs:sequence>
+			<xs:element name="authoritativeDocument" type="xs:string"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MANAGERSType">
+		<xs:sequence>
+			<xs:element name="MANAGER" type="MANAGERType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="MANAGERType">
+		<xs:attribute name="manager" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="RECOMMENDATIONSType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATION" type="RECOMMENDATIONType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="RECOMMENDATIONType">
+		<xs:attribute name="recommendation" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:attribute name="SECURITY_PARAMETER" type="xs:string" />
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MetadataFormatDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MetadataFormatDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MetadataFormatDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by Paolo (ISTI 
+	- CNR) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:annotation>
+		<xs:documentation>Standard part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="MetadataFormatDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="VocabularyDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATEType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:annotation>
+		<xs:documentation>Customisable part of any Resource Profile
+		</xs:documentation>
+	</xs:annotation>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element ref="VOCABULARY_NAME" />
+			<xs:element ref="VOCABULARY_DESCRIPTION" />
+			<xs:element name="METADATAFORMATS" type="VOCABULARYTERMType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="VOCABULARYTERMType">
+		<xs:sequence>
+			<xs:element name="METADATAFORMAT" type="TERMType"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="TERMType">
+		<xs:attribute name="name" type="xs:string" use="required" />
+		<xs:attribute name="Prefix" type="xs:string" use="required" />
+		<xs:attribute name="NameSpace" type="xs:string" use="required" />
+		<xs:attribute name="Schema" type="xs:string" use="required" />
+		<xs:attribute name="IndexPrefix" type="xs:string" use="optional" />
+		<xs:attribute name="IndexLayout" type="xs:string" use="optional" />
+		<xs:attribute name="IndexDate" type="xs:string" use="optional" />
+		<xs:attribute name="IndexQuery" type="xs:string" use="optional" />
+	</xs:complexType>
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element name="LAST_UPDATE" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="VOCABULARY_NAME" type="xs:string" />
+	<xs:element name="VOCABULARY_DESCRIPTION" type="xs:string" />
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/StoreDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/StoreDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/StoreDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,92 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element ref="MAX_STDS_SIZE" />
+			<xs:element name="PREDEFINED_OBJECT_TYPES" type="PREDEFINED_OBJECT_TYPESType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="StoreDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="StoreDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element ref="PENULTIMATE_STORAGE_DATE" />
+			<xs:element ref="LAST_STORAGE_DATE" />
+			<xs:element name="NUMBER_OF_STORED_OBJECTS" />
+			<xs:element name="STORED_OBJECT_TYPES" type="STORED_OBJECT_TYPESType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:element name="MAX_STDS_SIZE" type="xs:int" />
+	<xs:element name="PENULTIMATE_STORAGE_DATE" type="xs:string" />
+	<xs:element name="LAST_STORAGE_DATE" type="xs:string" />
+	<xs:element name="NUMBER_OF_STORED_OBJECTS" type="xs:int" />
+	<xs:complexType name="SOMTType">
+		<xs:attribute name="name" type="xs:string" use="required" />
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="STORED_OBJECT_TYPESType">
+		<xs:sequence>
+			<xs:element name="STORED_OBJECT_MIME_TYPE" type="SOMTType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="POMTType">
+		<xs:attribute name="name" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="PREDEFINED_OBJECT_TYPESType">
+		<xs:sequence>
+			<xs:element name="PREDEFINED_OBJECT_MIME_TYPE" type="POMTType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/TransformationRuleDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/TransformationRuleDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/TransformationRuleDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by Paolo (ISTI 
+	- CNR) -->
+<!--W3C Schema generated by XMLSpy v2007 sp1 (http://www.altova.com) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="HEADER" type="HEADERType" />
+                <xs:element name="BODY" type="BODYType" />
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="TransformationRuleDSResourceType" />
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required" />
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="TransformationRuleDSResources" />
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute name="value" type="xs:string" use="required" />
+    </xs:complexType>
+    <xs:complexType name="DATE_OF_CREATIONType">
+        <xs:attribute name="value" type="xs:dateTime" use="required" />
+    </xs:complexType>
+    
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+            <xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+            <xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+            <xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+            <xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+        </xs:all>
+    </xs:complexType>
+    
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:all>
+            <xs:element name="SOURCE_METADATA_FORMAT" minOccurs="0"
+                maxOccurs="1" type="METADATA_FORMATType" />
+            <xs:element name="SINK_METADATA_FORMAT" minOccurs="0"
+                maxOccurs="1" type="METADATA_FORMATType" />
+            <xs:element name="IMPORTED" type="IMPORTEDType" />
+            <xs:element name="SCRIPT" type="SCRIPTType" />
+        </xs:all>
+    </xs:complexType>
+    
+    <xs:complexType name="METADATA_FORMATType">
+        <xs:attribute name="name" type="xs:string" />
+        <xs:attribute name="interpretation" type="xs:string" />
+        <xs:attribute name="layout" type="xs:string" />
+    </xs:complexType>
+    <xs:complexType name="STATUSType">
+        <xs:all>
+        </xs:all>
+    </xs:complexType>
+    
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+            <xs:element name="STATUS" type="STATUSType" />
+            <xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+        </xs:sequence>
+    </xs:complexType>
+    
+    <xs:complexType name="SCRIPTType">
+        <xs:sequence>
+            <xs:element name="TITLE" type="xs:string" />
+            <xs:element name="CODE" type="CODEType" />
+        </xs:sequence>
+    </xs:complexType>
+    
+    <xs:complexType name="CODEType" mixed="true">
+        <xs:complexContent mixed="true">
+            <xs:restriction base="xs:anyType">
+                <xs:sequence>
+                    <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </xs:sequence>
+            </xs:restriction>
+        </xs:complexContent>
+    </xs:complexType>
+    
+    <xs:complexType name="SCRIPT_REFERENCEType" mixed="true">
+        <xs:attribute name="id" use="required" />
+    </xs:complexType>
+    
+    <xs:complexType name="IMPORTEDType">
+        <xs:sequence>
+            <xs:element name="SCRIPT_REFERENCE" type="SCRIPT_REFERENCEType"
+                minOccurs="0" maxOccurs="unbounded"></xs:element>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/QueryHashDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/QueryHashDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/QueryHashDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,62 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="QueryHashDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="QueryHashDSResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="QUERY_RESULTS" type="QUERY_RESULTSType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="USER_ID" type="xs:string" use="required" />
+		<xs:attribute name="CQL_QUERY" type="xs:string" use="required" />
+		<xs:attribute name="HASH_VALUE" type="xs:integer" use="required" />
+	</xs:complexType>
+	<xs:complexType name="QUERY_RESULTSType">
+		<xs:sequence>
+			<xs:element name="DOC_ID" type="xs:string" />
+			<xs:element name="IS_NEW" type="xs:boolean" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityContextDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityContextDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityContextDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,104 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" minOccurs="0" />
+			<xs:element ref="SECURITY_PARAMETERS" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="secCtxId" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="resourceId" type="xs:string" minOccurs="1"
+				maxOccurs="1" />
+			<xs:element name="secCtxType" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="secCtxKind" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="creationTime" type="xs:long" />
+			<xs:element name="lastAccessTime" type="xs:long" />
+			<xs:element name="privKey" type="xs:base64Binary"
+				minOccurs="0" />
+			<xs:element name="pubKey" type="xs:base64Binary"
+				minOccurs="0" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+			<xs:element name="identities" type="typedString" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+			<xs:element name="obligations" type="obligation" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityContextDSResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityContextDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType" />
+	<xs:complexType name="attribute">
+		<xs:sequence>
+			<xs:element name="key" type="xs:string" minOccurs="0" />
+			<xs:element name="type" type="xs:string" minOccurs="0" />
+			<xs:element name="value" type="xs:string" minOccurs="0" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="typedString">
+		<xs:sequence>
+			<xs:element name="text" type="xs:string" minOccurs="0" />
+			<xs:element name="type" type="xs:string" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="obligation">
+		<xs:sequence>
+			<xs:element name="obligation" type="xs:string" minOccurs="0" />
+			<xs:element name="resource" type="xs:string" minOccurs="0" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/UserDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/UserDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/UserDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,183 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="UserDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="UserDSResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="PERSONAL_INFO" type="PERSONAL_INFOType" />
+			<xs:element name="COMMUNITIES" type="COMMUNITIESType" />
+			<xs:element name="SAVED_QUERIES" type="SAVED_QUERYType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xs:element name="FILTER" type="FILTERType" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="RECOMMENDATION" type="RECOMMENDATIONType" />
+			<xs:element name="DOCUMENTS" type="DOCUMENTSType"
+				minOccurs="0" />
+			<xs:element name="USER_STORE" type="STOREType" minOccurs="0" />
+			<xs:element name="userImageID" type="xs:string" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:all>
+			<xs:element name="SECURITY_PARAMETER" type="xs:string" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="STOREType">
+		<xs:sequence>
+			<xs:element name="serviceURL" type="xs:string" />
+			<xs:element name="storeID" type="xs:string" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SAVED_QUERYType">
+		<xs:sequence>
+			<xs:element name="query" type="QUERYType" />
+			<xs:element name="hashValue" type="xs:string" minOccurs="0"
+				maxOccurs="unbounded" />
+			<xs:element name="alertOnChange" type="xs:boolean" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="FILTERType">
+		<xs:sequence>
+			<xs:element name="query" type="SAVED_QUERYType" minOccurs="1"
+				maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="QUERYType">
+		<xs:sequence>
+			<xs:element name="CQL">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="REFINE" minOccurs="0">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="COMMUNITYID" minOccurs="0" maxOccurs="unbounded">
+				<xs:complexType>
+					<xs:attribute name="communityId" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="COLLECTIONID" minOccurs="0" maxOccurs="unbounded">
+				<xs:complexType>
+					<xs:attribute name="collectionId" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="PERSONAL_INFOType">
+		<xs:sequence>
+			<xs:element name="FIRST_NAME">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="LAST_NAME">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="INSTITUTION">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="EMAIL">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="ACTIVATION_ID">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="ACTIVE">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:boolean" />
+				</xs:complexType>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="COMMUNITY_REGISTRATIONType">
+		<xs:attribute name="communityId" type="xs:string" />
+		<xs:attribute name="alertOnChange" type="xs:boolean" />
+		<xs:attribute name="insertInQueries" type="xs:boolean" />
+	</xs:complexType>
+	<xs:complexType name="COMMUNITIESType">
+		<xs:sequence>
+			<xs:element name="COMMUNITY_REGISTRATION" type="COMMUNITY_REGISTRATIONType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="RECOMMENDATIONType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATIONS" type="RECOMMENDATIONSType" />
+		</xs:sequence>
+		<xs:attribute name="SEND_EMAIL" type="xs:boolean" />
+		<xs:attribute name="PERIOD" type="xs:int" />
+		<xs:attribute name="LAST_NOTIFICATION" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="RECOMMENDATIONSType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATION_ID" type="xs:string"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DOCUMENTSType">
+		<xs:sequence>
+			<xs:element name="DOCUMENT_ID" type="xs:string" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ValidatorDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ValidatorDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ValidatorDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,92 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="ValidatorDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="ValidatorDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="RULE_INFO" type="RULE_INFOType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:all>
+			<xs:element name="SECURITY_PARAMETER" type="xs:string" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RULE_INFOType">
+		<xs:sequence>
+			<xs:element name="MANDATORY" type="xs:boolean" />
+			<xs:element name="ACTIVATED" type="xs:boolean" />
+			<xs:element name="CONDITIONAL" type="EXPRESSIONType"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="RULE_BODY" type="EXPRESSIONType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="EXPRESSIONType">
+		<xs:sequence>
+			<xs:element name="TYPE" type="xs:string" />
+			<xs:element name="EXPRESSION_PARAMETERS" type="EXPRESSION_PARAMETERSType" />
+			<xs:element name="RULE_TYPE" type="xs:boolean" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="EXPRESSION_PARAMETERSType">
+		<xs:sequence>
+			<xs:element name="FIELDName" type="xs:string" />
+			<xs:element name="VALUES" type="VALUESType" minOccurs="0"
+				maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="VALUESType">
+		<xs:sequence>
+			<xs:element name="VALUE" type="xs:string" minOccurs="1"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SimilarityDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SimilarityDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SimilarityDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,77 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:all>
+			<xs:element ref="METADATA_FORMAT" />
+			<xs:element ref="METADATA_FORMAT_INTERPRETATION" />
+			<xs:element ref="METADATA_FORMAT_LAYOUT" />
+			<!-- not suitable for singleton mode <xs:element ref="RECORDS_PROCESSED"/> 
+				<xs:element ref="RECORDS_OMITTED"/> -->
+			<xs:element ref="RECORDS_STORED" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SimilarityDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SimilarityDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element ref="INDEX_LAST_UPDATE" />
+		</xs:all>
+	</xs:complexType>
+	<!-- not suitable in singleton mode <xs:element name="RECORDS_PROCESSED" 
+		type="xs:int"/> <xs:element name="RECORDS_OMITTED" type="xs:int"/> -->
+	<xs:element name="RECORDS_STORED" type="xs:int" />
+	<xs:element name="METADATA_FORMAT" type="xs:string" />
+	<xs:element name="METADATA_FORMAT_INTERPRETATION" type="xs:string" />
+	<xs:element name="METADATA_FORMAT_LAYOUT" type="xs:string" />
+	<xs:element name="INDEX_LAST_UPDATE" type="xs:string" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityPolicyDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityPolicyDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityPolicyDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,319 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified" attributeFormDefault="unqualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" minOccurs="0" />
+			<xs:element ref="SECURITY_PARAMETERS" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:choice>
+			<xs:element ref="Policy" />
+			<xs:element ref="PolicySet" />
+		</xs:choice>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityPolicyDSResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityPolicyDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType" />
+	<!-- -->
+	<xs:element name="PolicySet" type="PolicySetType" />
+	<xs:complexType name="PolicySetType">
+		<xs:sequence>
+			<xs:element ref="Description" minOccurs="0" />
+			<xs:element ref="PolicySetDefaults" minOccurs="0" />
+			<xs:element ref="Target" />
+			<xs:choice minOccurs="0" maxOccurs="unbounded">
+				<xs:element ref="PolicySet" />
+				<xs:element ref="Policy" />
+				<xs:element ref="PolicySetIdReference" />
+				<xs:element ref="PolicyIdReference" />
+			</xs:choice>
+			<xs:element ref="Obligations" minOccurs="0" />
+		</xs:sequence>
+		<xs:attribute name="PolicySetId" type="xs:anyURI" use="required" />
+		<xs:attribute name="PolicyCombiningAlgId" type="xs:anyURI"
+			use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="PolicySetIdReference" type="xs:anyURI" />
+	<xs:element name="PolicyIdReference" type="xs:anyURI" />
+	<!-- -->
+	<xs:element name="PolicySetDefaults" type="DefaultsType" />
+	<xs:element name="PolicyDefaults" type="DefaultsType" />
+	<xs:complexType name="DefaultsType">
+		<xs:sequence>
+			<xs:choice>
+				<xs:element ref="XPathVersion" />
+			</xs:choice>
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="XPathVersion" type="xs:anyURI" />
+	<!-- -->
+	<xs:element name="Policy" type="PolicyType" />
+	<xs:complexType name="PolicyType">
+		<xs:sequence>
+			<xs:element ref="Description" minOccurs="0" />
+			<xs:element ref="PolicyDefaults" minOccurs="0" />
+			<xs:element ref="Target" />
+			<xs:element ref="Rule" minOccurs="0" maxOccurs="unbounded" />
+			<xs:element ref="Obligations" minOccurs="0" />
+		</xs:sequence>
+		<xs:attribute name="PolicyId" type="xs:anyURI" use="required" />
+		<xs:attribute name="RuleCombiningAlgId" type="xs:anyURI"
+			use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Description" type="xs:string" />
+	<!-- -->
+	<xs:element name="Rule" type="RuleType" />
+	<xs:complexType name="RuleType">
+		<xs:sequence>
+			<xs:element ref="Description" minOccurs="0" />
+			<xs:element ref="Target" minOccurs="0" />
+			<xs:element ref="Condition" minOccurs="0" />
+		</xs:sequence>
+		<xs:attribute name="RuleId" type="xs:anyURI" use="required" />
+		<xs:attribute name="Effect" type="EffectType" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:simpleType name="EffectType">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="Permit" />
+			<xs:enumeration value="Deny" />
+		</xs:restriction>
+	</xs:simpleType>
+	<!-- -->
+	<xs:element name="Target" type="TargetType" />
+	<xs:complexType name="TargetType">
+		<xs:sequence>
+			<xs:element ref="Subjects" minOccurs="0" />
+			<xs:element ref="Resources" minOccurs="0" />
+			<xs:element ref="Actions" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Subjects" type="SubjectsType" />
+	<xs:complexType name="SubjectsType">
+		<xs:choice>
+			<xs:element ref="Subject" maxOccurs="unbounded" />
+			<xs:element ref="AnySubject" />
+		</xs:choice>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Subject" type="SubjectType" />
+	<xs:complexType name="SubjectType">
+		<xs:sequence>
+			<xs:element ref="SubjectMatch" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AnySubject" />
+	<!-- -->
+	<xs:element name="Resources" type="ResourcesType" />
+	<xs:complexType name="ResourcesType">
+		<xs:choice>
+			<xs:element ref="Resource" maxOccurs="unbounded" />
+			<xs:element ref="AnyResource" />
+		</xs:choice>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AnyResource" />
+	<!-- -->
+	<xs:element name="Resource" type="ResourceType" />
+	<xs:complexType name="ResourceType">
+		<xs:sequence>
+			<xs:element ref="ResourceMatch" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Actions" type="ActionsType" />
+	<xs:complexType name="ActionsType">
+		<xs:choice>
+			<xs:element ref="Action" maxOccurs="unbounded" />
+			<xs:element ref="AnyAction" />
+		</xs:choice>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AnyAction" />
+	<!-- -->
+	<xs:element name="Action" type="ActionType" />
+	<xs:complexType name="ActionType">
+		<xs:sequence>
+			<xs:element ref="ActionMatch" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="SubjectMatch" type="SubjectMatchType" />
+	<xs:complexType name="SubjectMatchType">
+		<xs:sequence>
+			<xs:element ref="AttributeValue" />
+			<xs:choice>
+				<xs:element ref="SubjectAttributeDesignator" />
+				<xs:element ref="AttributeSelector" />
+			</xs:choice>
+		</xs:sequence>
+		<xs:attribute name="MatchId" type="xs:anyURI" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="ResourceMatch" type="ResourceMatchType" />
+	<xs:complexType name="ResourceMatchType">
+		<xs:sequence>
+			<xs:element ref="AttributeValue" />
+			<xs:choice>
+				<xs:element ref="ResourceAttributeDesignator" />
+				<xs:element ref="AttributeSelector" />
+			</xs:choice>
+		</xs:sequence>
+		<xs:attribute name="MatchId" type="xs:anyURI" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="ActionMatch" type="ActionMatchType" />
+	<xs:complexType name="ActionMatchType">
+		<xs:sequence>
+			<xs:element ref="AttributeValue" />
+			<xs:choice>
+				<xs:element ref="ActionAttributeDesignator" />
+				<xs:element ref="AttributeSelector" />
+			</xs:choice>
+		</xs:sequence>
+		<xs:attribute name="MatchId" type="xs:anyURI" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AttributeSelector" type="AttributeSelectorType" />
+	<xs:complexType name="AttributeSelectorType">
+		<xs:attribute name="RequestContextPath" type="xs:string"
+			use="required" />
+		<xs:attribute name="DataType" type="xs:anyURI" use="required" />
+		<xs:attribute name="MustBePresent" type="xs:boolean" use="optional"
+			default="false" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="ResourceAttributeDesignator" type="AttributeDesignatorType" />
+	<xs:element name="ActionAttributeDesignator" type="AttributeDesignatorType" />
+	<xs:element name="EnvironmentAttributeDesignator" type="AttributeDesignatorType" />
+	<!-- -->
+	<xs:complexType name="AttributeDesignatorType">
+		<xs:attribute name="AttributeId" type="xs:anyURI" use="required" />
+		<xs:attribute name="DataType" type="xs:anyURI" use="required" />
+		<xs:attribute name="Issuer" type="xs:string" use="optional" />
+		<xs:attribute name="MustBePresent" type="xs:boolean" use="optional"
+			default="false" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="SubjectAttributeDesignator" type="SubjectAttributeDesignatorType" />
+	<xs:complexType name="SubjectAttributeDesignatorType">
+		<xs:complexContent>
+			<xs:extension base="AttributeDesignatorType">
+				<xs:attribute name="SubjectCategory" type="xs:anyURI"
+					use="optional" default="urn:oasis:names:tc:1.0:subject-category:access-subject" />
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AttributeValue" type="AttributeValueType" />
+	<xs:complexType name="AttributeValueType" mixed="true">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="DataType" type="xs:anyURI" use="required" />
+		<xs:anyAttribute namespace="##any" processContents="lax" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Function" type="FunctionType" />
+	<xs:complexType name="FunctionType">
+		<xs:attribute name="FunctionId" type="xs:anyURI" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Apply" type="ApplyType" />
+	<xs:element name="Condition" type="ApplyType" />
+	<!-- -->
+	<xs:complexType name="ApplyType">
+		<xs:choice minOccurs="0" maxOccurs="unbounded">
+			<xs:element ref="Apply" />
+			<xs:element ref="Function" />
+			<xs:element ref="AttributeValue" />
+			<xs:element ref="SubjectAttributeDesignator" />
+			<xs:element ref="ResourceAttributeDesignator" />
+			<xs:element ref="ActionAttributeDesignator" />
+			<xs:element ref="EnvironmentAttributeDesignator" />
+			<xs:element ref="AttributeSelector" />
+		</xs:choice>
+		<xs:attribute name="FunctionId" type="xs:anyURI" use="required" />
+		<!-- Legal types for the first and subsequent operands are defined in the 
+			accompanying table -->
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Obligations" type="ObligationsType" />
+	<xs:complexType name="ObligationsType">
+		<xs:sequence>
+			<xs:element ref="Obligation" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="Obligation" type="ObligationType" />
+	<xs:complexType name="ObligationType">
+		<xs:sequence>
+			<xs:element ref="AttributeAssignment" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="ObligationId" type="xs:anyURI" use="required" />
+		<xs:attribute name="FulfillOn" type="EffectType" use="required" />
+	</xs:complexType>
+	<!-- -->
+	<xs:element name="AttributeAssignment" type="AttributeAssignmentType" />
+	<xs:complexType name="AttributeAssignmentType" mixed="true">
+		<xs:complexContent mixed="true">
+			<xs:extension base="AttributeValueType">
+				<xs:attribute name="AttributeId" type="xs:anyURI" use="required" />
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<!-- -->
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RegionDescriptionDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RegionDescriptionDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RegionDescriptionDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,91 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element ref="SECURITY_PARAMETERS" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType" />
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="InfrastructureResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="RegionDescriptionDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType">
+		<xs:sequence>
+			<xs:element name="REGION">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="SERVICE" maxOccurs="unbounded">
+							<xs:complexType>
+								<xs:sequence>
+									<xs:element name="PROTOCOL" maxOccurs="unbounded">
+										<xs:complexType>
+											<xs:attribute name="name" use="required" type="xs:string" />
+											<xs:attribute name="address" use="required"
+												type="xs:anyURI" />
+											<xs:attribute name="wsdl" use="optional" type="xs:string" />
+										</xs:complexType>
+									</xs:element>
+								</xs:sequence>
+								<xs:attribute name="instanceName" use="required"
+									type="xs:string" />
+								<xs:attribute name="typeName" use="required" type="xs:string" />
+								<xs:attribute name="priority" use="required" type="xs:int" />
+								<xs:attribute name="master" use="required" type="xs:int" />
+								<xs:attribute name="IPAddress" use="required" type="xs:string" />
+								<xs:attribute name="TCPIPPort" use="required" type="xs:int" />
+								<xs:attribute name="usedProtocol" use="required"
+									type="xs:string" />
+								<xs:attribute name="disabled" use="optional" type="xs:boolean" />
+							</xs:complexType>
+						</xs:element>
+					</xs:sequence>
+					<xs:attribute name="name" use="required" type="xs:string" />
+				</xs:complexType>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityProfileDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityProfileDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SecurityProfileDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,94 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" minOccurs="0" />
+			<xs:element ref="SECURITY_PARAMETERS" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="secProfId" type="xs:string" minOccurs="0"
+				maxOccurs="1" />
+			<xs:element name="resourceId" type="xs:string" minOccurs="1"
+				maxOccurs="1" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+			<xs:element name="identities" type="typedString" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+			<xs:element name="obligations" type="obligation" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityProfileDSResources" />
+					<xs:enumeration value="PendingDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="SecurityProfileDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
+	<xs:complexType name="STATUSType" />
+	<xs:complexType name="attribute">
+		<xs:sequence>
+			<xs:element name="key" type="xs:string" minOccurs="0" />
+			<xs:element name="type" type="xs:string" minOccurs="0" />
+			<xs:element name="value" type="xs:string" minOccurs="0" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="typedString">
+		<xs:sequence>
+			<xs:element name="text" type="xs:string" minOccurs="0" />
+			<xs:element name="type" type="xs:string" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="obligation">
+		<xs:sequence>
+			<xs:element name="obligation" type="xs:string" minOccurs="0" />
+			<xs:element name="resource" type="xs:string" minOccurs="0" />
+			<xs:element name="attributes" type="attribute" nillable="true"
+				maxOccurs="unbounded" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RSSFeedDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RSSFeedDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RSSFeedDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,83 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="RSSFeedDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="RSSFeedDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+			<xs:element name="INDEX" type="xs:int" minOccurs="0" />
+			<xs:element name="ACTIVE" type="xs:boolean" minOccurs="0" />
+			<xs:element name="TITLE" type="xs:string" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="RSSFEED_INFO" type="RSSFEED_INFOType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:all>
+			<xs:element name="SECURITY_PARAMETER" type="xs:string" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RSSFEED_INFOType">
+		<xs:sequence>
+			<xs:element name="USER_ID" type="xs:string" />
+			<xs:element name="CQLQUERY" type="xs:string" />
+			<xs:element name="DATE_OF_LAST_VISIT" type="xs:string" />
+			<xs:element name="DOCUMENTS" type="DOCUMENTSType"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="DOCUMENTSType">
+		<xs:sequence>
+			<xs:element name="DOCUMENT_ID" type="xs:string" minOccurs="1"
+				maxOccurs="1" />
+			<xs:element name="IS_NEW" type="xs:boolean" minOccurs="1"
+				maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/InformationSpaceViewDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/InformationSpaceViewDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/InformationSpaceViewDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,88 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="InformationSpaceViewDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="InformationSpaceViewDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="STATUSType" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="INDEX_DOMAINType">
+		<xs:sequence>
+			<xs:element name="VALUE" type="xs:string" minOccurs="1"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="id" type="xs:string" />
+	</xs:complexType>
+	<xs:complexType name="FIELDType">
+		<xs:sequence>
+			<xs:element name="INDEX_DOMAIN" type="INDEX_DOMAINType"
+				minOccurs="1" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:attribute name="name" type="xs:string" />
+		<xs:attribute name="vocabulary_id" type="xs:string" />
+		<xs:attribute name="partition" type="xs:boolean" />
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="FORMAT" type="xs:string" />
+			<xs:element name="FIELD" type="FIELDType" minOccurs="1"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="STATUSType">
+		<xs:all>
+			<xs:element name="LAST_UPDATE" type="DATEType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="DATEType">
+		<xs:attribute name="value" type="xs:dateTime" use="required" />
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:attribute name="SECURITY_PARAMETER" type="xs:string" />
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RecommendationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RecommendationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RecommendationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,93 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="HEADER" type="HEADERType" />
+				<xs:element name="BODY" type="BODYType" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name="HEADERType">
+		<xs:all>
+			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
+			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
+			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
+			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
+			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_IDENTIFIERType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_TYPEType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="RecommendationDSResourceType" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_KINDType">
+		<xs:attribute name="value" use="required">
+			<xs:simpleType>
+				<xs:restriction base="xs:string">
+					<xs:enumeration value="RecommendationDSResources" />
+				</xs:restriction>
+			</xs:simpleType>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name="RESOURCE_URIType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="DATE_OF_CREATIONType">
+		<xs:attribute name="value" type="xs:string" use="required" />
+	</xs:complexType>
+	<xs:complexType name="BODYType">
+		<xs:sequence>
+			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
+			<xs:element name="STATUS" type="xs:string" />
+			<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" />
+			<xs:element name="INDEX" type="xs:int" minOccurs="0" />
+			<xs:element name="ACTIVE" type="xs:boolean" minOccurs="0" />
+			<xs:element name="TITLE" type="xs:string" minOccurs="0" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="CONFIGURATIONType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATION_INFO" type="RECOMMENDATION_INFOType" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="SECURITY_PARAMETERSType">
+		<xs:all>
+			<xs:element name="SECURITY_PARAMETER" type="xs:string" />
+		</xs:all>
+	</xs:complexType>
+	<xs:complexType name="RECOMMENDATION_INFOType">
+		<xs:sequence>
+			<xs:element name="RECOMMENDATION_TEXT" type="xs:string" />
+			<xs:element name="DATE_OF_EXPIRATION">
+				<xs:complexType>
+					<xs:attribute name="value" type="xs:string" use="required" />
+				</xs:complexType>
+			</xs:element>
+			<xs:element name="TYPE" type="xs:string" />
+			<xs:element name="COMMUNITIES" type="COMMUNITIESType"
+				minOccurs="0" maxOccurs="1" />
+			<xs:element name="USERS" type="USERSType" minOccurs="0"
+				maxOccurs="1" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="COMMUNITIESType">
+		<xs:sequence>
+			<xs:element name="COMMUNITY_ID" type="xs:string"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="USERSType">
+		<xs:sequence>
+			<xs:element name="USER_ID" type="xs:string" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/EntityGrouperConfigurationDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/EntityGrouperConfigurationDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/EntityGrouperConfigurationDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<xs:element name="RESOURCE_PROFILE">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="HEADER" />
+				<xs:element ref="BODY" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="HEADER">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="RESOURCE_IDENTIFIER" />
+				<xs:element ref="RESOURCE_TYPE" />
+				<xs:element ref="RESOURCE_KIND" />
+				<xs:element ref="RESOURCE_URI" />
+				<xs:element ref="DATE_OF_CREATION" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_IDENTIFIER">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_TYPE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_KIND">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="RESOURCE_URI">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="DATE_OF_CREATION">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="BODY">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="CONFIGURATION" />
+				<xs:element ref="STATUS" />
+				<xs:element ref="SECURITY_PARAMETERS" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="CONFIGURATION">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="GROUP" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="GROUP" type="xs:string" />
+	<xs:element name="STATUS">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element ref="LAST_UPDATE" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="LAST_UPDATE">
+		<xs:complexType>
+			<xs:attribute name="value" use="required" type="xs:dateTime" />
+		</xs:complexType>
+	</xs:element>
+	<xs:element name="SECURITY_PARAMETERS" type="xs:NCName" />
+</xs:schema>
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/GroovyProcessingDSResourceType.xsd
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/GroovyProcessingDSResourceType.xsd	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/GroovyProcessingDSResourceType.xsd	(revision 47767)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:annotation>
+        <xs:documentation>Standard part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:element name="RESOURCE_PROFILE">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element type="HEADERType" name="HEADER"/>
+                <xs:element type="BODYType" name="BODY"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="HEADERType">
+        <xs:all>
+            <xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
+            <xs:element type="RESOURCE_TYPEType" name="RESOURCE_TYPE"/>
+            <xs:element type="RESOURCE_KINDType" name="RESOURCE_KIND"/>
+            <xs:element type="RESOURCE_URIType" name="RESOURCE_URI"/>
+            <xs:element name="DATE_OF_CREATION" type="DATEType"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="BODYType">
+        <xs:sequence>
+            <xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
+            <xs:element type="STATUSType" name="STATUS"/>
+            <xs:element ref="SECURITY_PARAMETERS"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_IDENTIFIERType">
+        <xs:attribute use="required" name="value" type="xs:string"/>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_TYPEType">
+        <xs:attribute name="value" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="GroovyProcessingDSResourceType"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_KINDType">
+        <xs:attribute use="required" name="value">
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="GroovyProcessingDSResource"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:complexType>
+    <xs:complexType name="RESOURCE_URIType">
+        <xs:attribute name="value" type="xs:string" use="required"/>
+    </xs:complexType>
+    <xs:complexType name="DATEType">
+        <xs:attribute use="required" name="value" type="xs:dateTime"/>
+    </xs:complexType>
+    <xs:annotation>
+        <xs:documentation>Customisable part of any Resource Profile</xs:documentation>
+    </xs:annotation>
+    <xs:complexType name="CONFIGURATIONType">
+        <xs:sequence>
+            <xs:element type="xs:string" name="GROOVY_DESCRIPTION" minOccurs="1" maxOccurs="1"/>
+            <!-- Path to the directory containing all groovy resources needed for the processing -->
+            <xs:element type="xs:string" name="GROOVY_CLASSPATH" minOccurs="1" maxOccurs="1"/>
+            <!-- Name of the Groovy class to instantiate and launch for the processing (must implement the RunnableGroovy interface) -->
+            <xs:element type="xs:string" name="GROOVY_DNETCLASS" minOccurs="1" maxOccurs="1"/>
+        </xs:sequence>
+    </xs:complexType>
+    
+    <xs:complexType name="STATUSType">
+        <xs:all>
+            <xs:element type="DATEType" name="LAST_UPDATE"/>
+        </xs:all>
+    </xs:complexType>
+    
+    <xs:element type="xs:string" name="SECURITY_PARAMETERS" />
+    
+</xs:schema>
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8/deploy.info
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8/deploy.info	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8/deploy.info	(revision 47767)
@@ -0,0 +1 @@
+{"type_source": "SVN", "goal": "package -U -T 4C source:jar", "url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-schemas/trunk/", "deploy_repository": "dnet45-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-snapshots", "name": "dnet-schemas"}
\ No newline at end of file
Index: modules/dnet-schemas/tags/dnet-schemas-1.0.8
===================================================================
--- modules/dnet-schemas/tags/dnet-schemas-1.0.8	(nonexistent)
+++ modules/dnet-schemas/tags/dnet-schemas-1.0.8	(revision 47767)

Property changes on: modules/dnet-schemas/tags/dnet-schemas-1.0.8
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,7 ##
+.classpath
+.settings
+target
+.project
+.springBeans
+
+*.iml
