From: <hei...@us...> - 2008-10-22 16:45:31
|
Revision: 1627 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=1627&view=rev Author: heikkidoeleman Date: 2008-10-22 16:45:17 +0000 (Wed, 22 Oct 2008) Log Message: ----------- heikki: junit test resources Added Paths: ----------- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AdhocQueryTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AssociationTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationNodeTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationSchemeTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/EmailAddressTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalIdentifierTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalLinkTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExtrinsicObjectTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/FederationTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/InternationalStringTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/LocalizedStringTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/NotifyActionTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ObjectRefTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/OrganizationTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonNameTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PostalAddressTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/QueryExpressionTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryObjectTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryPackageTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ServiceBindingTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ServiceTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/SlotTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/SpecificationLinkTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/SubscriptionTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/TelephoneNumberTestData.xml sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/UserTestData.xml Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AdhocQueryTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AdhocQueryTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AdhocQueryTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:AdhocQuery xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:adhocquery-id" home="http://adhocquery-home" lid="urn:adhocquery-lid" objectType="http://adhocquery-objectType" status="http://adhocquery-status"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:QueryExpression queryLanguage="http://queryLanguage"><![CDATA[randomObject]]></tns:QueryExpression> +</tns:AdhocQuery> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AssociationTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AssociationTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/AssociationTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Association xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:association-id" home="http://association-home" lid="urn:association-lid" objectType="http://association-objectType" status="http://association-status" associationType="http://associationType" sourceObject="http://association-sourceObject" targetObject="http://association-targetObject"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> +</tns:Association> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationNodeTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationNodeTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationNodeTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ClassificationNode xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:id" home="http://home" objectType="http://objectType" status="http://status" parent="http://classificationNode-parent" code="classificationNode-code" path="classificationNode-path"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> +</tns:ClassificationNode> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationSchemeTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationSchemeTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationSchemeTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ClassificationScheme xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:id" home="http://home" objectType="http://objectType" status="http://status" isInternal="true" nodeType="http://classificationScheme-nodeType"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> +</tns:ClassificationScheme> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ClassificationTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Classification xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> +</tns:Classification> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/EmailAddressTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/EmailAddressTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/EmailAddressTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:EmailAddress xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" address="em...@ex..." type="email-address-type"/> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalIdentifierTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalIdentifierTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalIdentifierTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ExternalIdentifier xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:externallink-id" home="http://externallink-home" lid="urn:externallink-lid" objectType="http://externallink-objecttype" status="http://externallink-status" identificationScheme="http://identificationScheme" registryObject="http://registryObject" value="externalidentifier-value"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="nl-NL" value="externallink-name2" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="externallink-name1" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="localizedString1-value" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-US" value="localizedString2-value" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> +</tns:ExternalIdentifier> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalLinkTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalLinkTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExternalLinkTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ExternalLink xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:externallink-id" home="http://externallink-home" lid="urn:externallink-lid" objectType="http://externallink-objecttype" status="http://externallink-status" externalURI="http://external-URI"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="nl-NL" value="externallink-name2" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="externallink-name1" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="localizedString1-value" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-US" value="localizedString2-value" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> +</tns:ExternalLink> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExtrinsicObjectTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExtrinsicObjectTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ExtrinsicObjectTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ExtrinsicObject xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:extrinsicobject-id" home="http://extrinsicobject-home" lid="urn:extrinsicobject-lid" objectType="http://extrinsic-object-objecttype" status="http://extrinsic-object-status" isOpaque="true" mimeType="extrinsicobject-mimetype"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="en-GB" value="extrinsicobject-name1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="nl-NL" value="extrinsicobject-name2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="localizedString1-value" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-US" value="localizedString2-value" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:ContentVersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> +</tns:ExtrinsicObject> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/FederationTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/FederationTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/FederationTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Federation xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:federation-id" home="http://federation-home" lid="urn:federation-lid" objectType="http://federation-objectType" status="http://federation-status" replicationSyncLatency="-P6Y4M1DT2H3M5S"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:classification2-id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://federation-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> +</tns:Federation> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/InternationalStringTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/InternationalStringTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/InternationalStringTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:InternationalString xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> +</tns:InternationalString> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/LocalizedStringTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/LocalizedStringTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/LocalizedStringTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:LocalizedString xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xml:lang="fr-FR" value="value-1" charset="UTF-8"/> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/NotifyActionTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/NotifyActionTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/NotifyActionTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:NotifyAction xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" endPoint="http://notifyAction-endPoint" notificationOption="http://notifyAction-notificationOption"/> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ObjectRefTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ObjectRefTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ObjectRefTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ObjectRef xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="id" home="http://home" createReplica="true"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> +</tns:ObjectRef> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/OrganizationTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/OrganizationTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/OrganizationTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Organization xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:organization-urn" home="http://organizationhome" lid="urn:organization-lid" objectType="http://organization-objecttype" status="http://organization-status" parent="http://parent-organization" primaryContact="http://primaryContact"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Address city="city2" country="country" postalCode="postalCode" stateOrProvince="stateOrProvince" street="street" streetNumber="streetNumber"/> + <tns:Address city="city" country="country" postalCode="postalCode" stateOrProvince="stateOrProvince" street="street" streetNumber="streetNumber"/> + <tns:TelephoneNumber areaCode="areacode" countryCode="country" extension="extensio" number="number2-number" phoneType="phonetype"/> + <tns:TelephoneNumber areaCode="areacode" countryCode="country" extension="extensio" number="number" phoneType="phonetype"/> + <tns:EmailAddress address="em...@ex..." type="email-address-type"/> + <tns:EmailAddress address="ema...@ex..." type="email-address-type"/> +</tns:Organization> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonNameTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonNameTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonNameTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:PersonName xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" firstName="firstName" middleName="middleName" lastName="lastName"/> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PersonTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Person xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:person-urn" home="http://personhome" lid="urn:person-lid" objectType="http://person-objecttype" status="http://person-status"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Address city="city2" country="country" postalCode="postalCode" stateOrProvince="stateOrProvince" street="street" streetNumber="streetNumber"/> + <tns:Address city="city" country="country" postalCode="postalCode" stateOrProvince="stateOrProvince" street="street" streetNumber="streetNumber"/> + <tns:PersonName firstName="firstName" middleName="middleName" lastName="lastName"/> + <tns:TelephoneNumber areaCode="areacode" countryCode="country" extension="extensio" number="number2-number" phoneType="phonetype"/> + <tns:TelephoneNumber areaCode="areacode" countryCode="country" extension="extensio" number="number" phoneType="phonetype"/> + <tns:EmailAddress address="em...@ex..." type="email-address-type"/> + <tns:EmailAddress address="ema...@ex..." type="email-address-type"/> +</tns:Person> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PostalAddressTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PostalAddressTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/PostalAddressTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Address xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" city="city" country="country" postalCode="postalCode" stateOrProvince="stateOrProvince" street="street" streetNumber="streetNumber"/> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/QueryExpressionTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/QueryExpressionTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/QueryExpressionTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:QueryExpression xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" queryLanguage="http://queryLanguage"><![CDATA[randomObject]]></tns:QueryExpression> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryObjectTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryObjectTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryObjectTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:RegistryObject xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="http://id" home="http://home" lid="http://lid" objectType="http://objectType" status="http://status"> + <tns:Slot name="slot-2" slotType="slottype-2"> + <tns:ValueList> + <tns:Value>value-for-slot-2</tns:Value> + <tns:Value>another-value-for-slot-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-1" slotType="slottype-1"> + <tns:ValueList> + <tns:Value>value-for-slot-1</tns:Value> + <tns:Value>another-value-for-slot-1</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="name" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="en-US" value="description" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="1.1" comment="comment"/> + <tns:Classification id="http://class-id" lid="http://class-lid" classificationScheme="http://classificationScheme" classificationNode="http://classificationNode" classifiedObject="http://classifiedObject" nodeRepresentation="nodeRepresentation"> + <tns:Description> + <tns:LocalizedString xml:lang="en-US" value="classification-hoi" charset="UTF-8"/> + </tns:Description> + </tns:Classification> + <tns:Classification id="http://class2-id" lid="http://class2-lid" classificationScheme="http://classificationScheme2" classificationNode="http://classificationNode2" classifiedObject="http://classifiedObject2" nodeRepresentation="nodeRepresentation2"> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="classification-hoi-2" charset="UTF-8"/> + </tns:Description> + </tns:Classification> +</tns:RegistryObject> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryPackageTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryPackageTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryPackageTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:RegistryPackage xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:externallink-id" home="http://externallink-home" lid="urn:externallink-lid" objectType="http://externallink-objecttype" status="http://externallink-status"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="nl-NL" value="externallink-name2" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="externallink-name1" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="localizedString1-value" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-US" value="localizedString2-value" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:RegistryObjectList> + <tns:RegistryObject id="http://id" home="http://home" lid="http://lid" objectType="http://objectType" status="http://status"> + <tns:Slot name="slot-1" slotType="slottype-1"> + <tns:ValueList> + <tns:Value>value-for-slot-1</tns:Value> + <tns:Value>another-value-for-slot-1</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-2" slotType="slottype-2"> + <tns:ValueList> + <tns:Value>value-for-slot-2</tns:Value> + <tns:Value>another-value-for-slot-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="name" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="en-US" value="description" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="1.1" comment="comment"/> + <tns:Classification id="http://class-id" lid="http://class-lid" classificationScheme="http://classificationScheme" classificationNode="http://classificationNode" classifiedObject="http://classifiedObject" nodeRepresentation="nodeRepresentation"> + <tns:Description> + <tns:LocalizedString xml:lang="en-US" value="classification-hoi" charset="UTF-8"/> + </tns:Description> + </tns:Classification> + <tns:Classification id="http://class2-id" lid="http://class2-lid" classificationScheme="http://classificationScheme2" classificationNode="http://classificationNode2" classifiedObject="http://classifiedObject2" nodeRepresentation="nodeRepresentation2"> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="classification-hoi-2" charset="UTF-8"/> + </tns:Description> + </tns:Classification> + </tns:RegistryObject> + <tns:ObjectRef id="id" home="http://home" createReplica="true"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + </tns:ObjectRef> + <tns:ExtrinsicObject id="urn:extrinsicobject-id" home="http://extrinsicobject-home" lid="urn:extrinsicobject-lid" objectType="http://extrinsic-object-objecttype" status="http://extrinsic-object-status" isOpaque="true" mimeType="extrinsicobject-mimetype"> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="en-GB" value="extrinsicobject-name1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="nl-NL" value="extrinsicobject-name2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="localizedString1-value" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-US" value="localizedString2-value" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:ContentVersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:ExtrinsicObject> + </tns:RegistryObjectList> +</tns:RegistryPackage> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/RegistryTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:Registry xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:registry-id" home="http://registry-home" lid="urn:registry-lid" objectType="http://registry-objectType" status="http://registry-status" catalogingLatency="-P6Y4M1DT2H3M5S" conformanceProfile="registryFull" operator="http://registry-operator" replicationSyncLatency="-P6Y4M1DT2H3M5S" specificationVersion="specVers"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://registry-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> +</tns:Registry> \ No newline at end of file Added: sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ServiceBindingTestData.xml =================================================================== --- sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ServiceBindingTestData.xml (rev 0) +++ sandbox/3.0.x/geonetwork-domain-ebxml/src/test/resources/ServiceBindingTestData.xml 2008-10-22 16:45:17 UTC (rev 1627) @@ -0,0 +1,220 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:ServiceBinding xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:specificationlink-id" home="http://specificationlink-home" lid="urn:specificationlink-lid" objectType="http://specificationlink-objectType" status="http://specificationlink-status" accessURI="http://serviceBinding-accessURI" service="http://serviceBinding-service" targetBinding="http://serviceBinding-targetBinding"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:Classification id="urn:id" home="http://home" objectType="http://objectType" status="http://status" classificationScheme="http://classificationScheme" classificationNode="http://classification-node2" classifiedObject="http://classifiedObject" nodeRepresentation="noderepresentation"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Name> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Name> + <tns:Description> + <tns:LocalizedString xml:lang="fr-FR" value="value-1" charset="UTF-8"/> + <tns:LocalizedString xml:lang="en-GB" value="value-2" charset="UTF-8"/> + </tns:Description> + <tns:VersionInfo versionName="versioninfo-name" comment="versioninfo-comment"/> + </tns:Classification> + <tns:SpecificationLink id="urn:specificationlink-id" home="http://specificationlink2" lid="urn:specificationlink-lid" objectType="http://specificationlink-objectType" status="http://specificationlink-status" serviceBinding="http://serviceBinding" specificationObject="http://specificationObject"> + <tns:Slot name="slot2-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <tns:Value>value-2</tns:Value> + </tns:ValueList> + </tns:Slot> + <tns:Slot name="slot-name" slotType="slottype"> + <tns:ValueList> + <tns:Value>value-1</tns:Value> + <t... [truncated message content] |