Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validations in the editor: some pattern-restricted values now better match the metadata schema #685

Merged
merged 2 commits into from
Oct 22, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions metashare/recommendations/fixtures/creators-projects-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,20 @@
répartie en deux sous-ensembles.
</description>
<resourceShortName/>
<url>http://catalog.elra.info/product_info.php?products_id=1076</url>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<url>http://catalog.elra.info/product_info.php?products_id=1076
</url>
<identifier>ELRA-S0288</identifier>
</identificationInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<contactPerson>
<surname>Test</surname>
<communicationInfo><email>[email protected]</email></communicationInfo>
</contactPerson>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
Expand All @@ -25,7 +34,7 @@
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipcode>75013</zipcode>
<zipCode>75013</zipCode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
Expand All @@ -37,12 +46,6 @@
<version>1.0</version>
<lastDateUpdated>2008-10-07</lastDateUpdated>
</versionInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<usageInfo>
<actualUseInfo>
<actualUse>nlpApplications</actualUse>
Expand Down Expand Up @@ -81,6 +84,12 @@
<languageId>tha</languageId>
<languageName>Thai</languageName>
</languageInfo>
<audioSizeInfo>
<sizeInfo>
<size>123456</size>
<sizeUnit>entries</sizeUnit>
</sizeInfo>
</audioSizeInfo>
</corpusAudioInfo>
</corpusMediaType>
</corpusInfo>
Expand Down
25 changes: 16 additions & 9 deletions metashare/recommendations/fixtures/creators-projects-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,20 @@
fourni avec une interprétation linguistique.
</description>
<resourceShortName/>
<url>http://catalog.elra.info/product_info.php?products_id=1102</url>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<url>http://catalog.elra.info/product_info.php?products_id=1102
</url>
<identifier>ELRA-W0050</identifier>
</identificationInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<contactPerson>
<surname>Test</surname>
<communicationInfo><email>[email protected]</email></communicationInfo>
</contactPerson>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
Expand All @@ -30,7 +39,7 @@
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipcode>75013</zipcode>
<zipCode>75013</zipCode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
Expand All @@ -42,12 +51,6 @@
<version>1.0</version>
<lastDateUpdated>2009-06-09</lastDateUpdated>
</versionInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<resourceCreationInfo>
<resourceCreator>
<personInfo>
Expand Down Expand Up @@ -75,6 +78,10 @@
<languageId>por</languageId>
<languageName>Portuguese</languageName>
</languageInfo>
<sizeInfo>
<size>123465</size>
<sizeUnit>entries</sizeUnit>
</sizeInfo>
<textFormatInfo>
<mimeType>Plain text</mimeType>
</textFormatInfo>
Expand Down
26 changes: 17 additions & 9 deletions metashare/recommendations/fixtures/creators-projects-3.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<resourceInfo xmlns:xslt="http://xml.apache.org/xsltm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ilsp.gr/META-XMLSchema" xsi:schemaLocation="http://www.ilsp.gr/META-XMLSchema http://metashare.ilsp.gr/META-XMLSchema/v3.0/META-SHARE-Resource.xsd">
<resourceInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ilsp.gr/META-XMLSchema" xsi:schemaLocation="http://www.ilsp.gr/META-XMLSchema http://metashare.ilsp.gr/META-XMLSchema/v3.0/META-SHARE-Resource.xsd">
<identificationInfo>
<resourceName lang="en">EuroWordNet Spanish</resourceName>
<resourceName lang="fr">EuroWordNet espagnol</resourceName>
Expand All @@ -11,10 +11,20 @@
<description lang="fr">A. Wordnets disponibles
</description>
<resourceShortName/>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<url>http://catalog.elra.info/product_info.php?products_id=547</url>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<identifier>ELRA-M0017</identifier>
</identificationInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<contactPerson>
<surname>Test</surname>
<communicationInfo><email>[email protected]</email></communicationInfo>
</contactPerson>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
Expand All @@ -24,7 +34,7 @@
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipcode>75013</zipcode>
<zipCode>75013</zipCode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
Expand All @@ -36,12 +46,6 @@
<version>1.0</version>
<lastDateUpdated>2005-05-30</lastDateUpdated>
</versionInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<resourceCreationInfo>
<resourceCreator>
<organizationInfo>
Expand Down Expand Up @@ -79,6 +83,10 @@
</sizePerLanguageVariety>
</languageVarietyInfo>
</languageInfo>
<sizeInfo>
<size>123</size>
<sizeUnit>elements</sizeUnit>
</sizeInfo>
</lexicalConceptualResourceTextInfo>
</lexicalConceptualResourceMediaType>
</lexicalConceptualResourceInfo>
Expand Down
26 changes: 17 additions & 9 deletions metashare/recommendations/fixtures/creators-projects-4.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<resourceInfo xmlns:xslt="http://xml.apache.org/xsltm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ilsp.gr/META-XMLSchema" xsi:schemaLocation="http://www.ilsp.gr/META-XMLSchema http://metashare.ilsp.gr/META-XMLSchema/v3.0/META-SHARE-Resource.xsd">
<resourceInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ilsp.gr/META-XMLSchema" xsi:schemaLocation="http://www.ilsp.gr/META-XMLSchema http://metashare.ilsp.gr/META-XMLSchema/v3.0/META-SHARE-Resource.xsd">
<identificationInfo>
<resourceName lang="en">VERBA Polytechnic and Plurilingual
Terminological Database - I-MN Outfitting</resourceName>
Expand All @@ -9,10 +9,20 @@
<description lang="en">* Entries for English-Spanish
</description>
<resourceShortName/>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<url>http://catalog.elra.info/product_info.php?products_id=293</url>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<identifier>ELRA-T0218</identifier>
</identificationInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<contactPerson>
<surname>Test</surname>
<communicationInfo><email>[email protected]</email></communicationInfo>
</contactPerson>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
Expand All @@ -22,7 +32,7 @@
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipcode>75013</zipcode>
<zipCode>75013</zipCode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
Expand All @@ -34,12 +44,6 @@
<version>1.0</version>
<lastDateUpdated>2006-09-27</lastDateUpdated>
</versionInfo>
<distributionInfo>
<availability>available-unrestrictedUse</availability>
<licenceInfo>
<licence>AGPL</licence>
</licenceInfo>
</distributionInfo>
<resourceCreationInfo>
<fundingProject>
<projectName lang="en">test-project-1</projectName>
Expand Down Expand Up @@ -76,6 +80,10 @@
</sizePerLanguageVariety>
</languageVarietyInfo>
</languageInfo>
<sizeInfo>
<size>123</size>
<sizeUnit>elements</sizeUnit>
</sizeInfo>
</lexicalConceptualResourceTextInfo>
</lexicalConceptualResourceMediaType>
</lexicalConceptualResourceInfo>
Expand Down
62 changes: 36 additions & 26 deletions metashare/recommendations/fixtures/creators-projects-5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,10 @@
« front-end » d’un système DSR (Distributed Speech Recognition –
Reconnaissance de la parole distribuée).</description>
<resourceShortName/>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<url>http://catalog.elra.info/product_info.php?products_id=1015</url>
<metaShareId>NOT_DEFINED_FOR_V2</metaShareId>
<identifier>ELRA-AURORA-CD0005</identifier>
</identificationInfo>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
<surname lang="en-us">Valérie</surname>
<givenName lang="en-us">Mapelli</givenName>
<communicationInfo>
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipcode>75013</zipcode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
<faxNumber>+1 43 14 33 30</faxNumber>
</communicationInfo>
</metadataCreator>
</metadataInfo>
<versionInfo>
<version>1.0</version>
<lastDateUpdated>2010-03-12</lastDateUpdated>
</versionInfo>
<distributionInfo>
<availability>available-restrictedUse</availability>
<licenceInfo>
Expand All @@ -46,7 +25,7 @@
<fee>250.00</fee>
<userNature>commercial</userNature>
<membershipInfo>
<member>False</member>
<member>false</member>
<membershipInstitution>ELRA</membershipInstitution>
</membershipInfo>
</licenceInfo>
Expand All @@ -56,7 +35,7 @@
<fee>250.00</fee>
<userNature>academic</userNature>
<membershipInfo>
<member>False</member>
<member>false</member>
<membershipInstitution>ELRA</membershipInstitution>
</membershipInfo>
</licenceInfo>
Expand All @@ -66,7 +45,7 @@
<fee>250.00</fee>
<userNature>commercial</userNature>
<membershipInfo>
<member>True</member>
<member>true</member>
<membershipInstitution>ELRA</membershipInstitution>
</membershipInfo>
</licenceInfo>
Expand All @@ -76,12 +55,37 @@
<fee>250.00</fee>
<userNature>academic</userNature>
<membershipInfo>
<member>True</member>
<member>true</member>
<membershipInstitution>ELRA</membershipInstitution>
</membershipInfo>
</licenceInfo>
<availabilityStartDate>2007-10-08</availabilityStartDate>
</distributionInfo>
<contactPerson>
<surname>Test</surname>
<communicationInfo><email>[email protected]</email></communicationInfo>
</contactPerson>
<metadataInfo>
<metadataCreationDate>2005-05-12</metadataCreationDate>
<metadataCreator>
<surname lang="en-us">Valérie</surname>
<givenName lang="en-us">Mapelli</givenName>
<communicationInfo>
<email>[email protected]</email>
<url>http://www.elda.org</url>
<address>55-57 rue Brillat-Savarin</address>
<zipCode>75013</zipCode>
<city>Paris</city>
<country>France</country>
<telephoneNumber>+1 43 13 33 33</telephoneNumber>
<faxNumber>+1 43 14 33 30</faxNumber>
</communicationInfo>
</metadataCreator>
</metadataInfo>
<versionInfo>
<version>1.0</version>
<lastDateUpdated>2010-03-12</lastDateUpdated>
</versionInfo>
<usageInfo>
<actualUseInfo>
<actualUse>nlpApplications</actualUse>
Expand All @@ -101,6 +105,12 @@
<languageId>eng</languageId>
<languageName>English</languageName>
</languageInfo>
<audioSizeInfo>
<sizeInfo>
<size>123</size>
<sizeUnit>elements</sizeUnit>
</sizeInfo>
</audioSizeInfo>
</corpusAudioInfo>
</corpusMediaType>
</corpusInfo>
Expand Down
Loading