[GeoNetwork-devel] RE : add anauthor for a dataset

Hi All,

I am a bit worried about the use of the "enumeration" type in the
CI_RoleCode. CI_RoleCode is of type "CodeList" and is *not* an enumeration.
It can be extended by the users.

Is it the intention of GeoNetwork to make this a real 'enumeration' type?

An alternative is to use the "codeList" attribute of the code list type
elements to link directly to a URL for the relevant code list. eg.

<CI_RoleCode
codeList="http://www.anzlic.org.au/ANZLICProfile/codeLists/CI_RoleCode.xml&quot;
codeListValue="author">author</CI_RoleCode>

The URL is fictitious but is likely to exist in the future.

If there is a firewall problem then the CI_RoleCode.xml file could be located
on the local system and an OASIS Catalog XML file used to reference the local
copy.

Thanks.

John

-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] On
Behalf Of Andrea Carboni
Sent: Saturday, 7 October 2006 11:52 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] [SPAM] [GeoNetwork-users]
[GN] : add anauthor for a dataset

Hi all,

I added the 'author' entry to the RoleCd in both GN 2.0.3 and 2.1.0

Cheers,
Andrea

> Hi Pierre,
> Back to the list.
>
> On Oct 6, 2006, at 2:12 PM, Pierre LAGARDE wrote:
>
> > Hi Jeroen,
> >
> > No, it is a role included in the 19115 definition (if it were a
> > custom role, I would not have sent in the mailing list). I think
> > you forgot it but it’s not crucial (;-)… but in france
(and perhaps
> > in the whole wide world ?) people like to be identified
as an author..
> >
> > Francois could commit this fix but we propose you to
identify all
> > minor errors in the 19115 schema and to commit a new
schema in one
> > or two weeks.
> Good, no problem, except that codelist changes will have no side
> effect on the system. So you may consider committing that
small fix
> to the V2_0_FIX2 if its of use in version 2.0.3
> Ciao,
> Jeroen
>
> > Cheers,
> >
> > Pierre.
> >
> > De : Jeroen Ticheler [mailto:Jeroen.Ticheler@…1…]
> > Envoyé : vendredi 6 octobre 2006 13:46
> > À : p.lagarde@...39...
> > Cc : François Prunayre
> > Objet : Re: [SPAM] [GeoNetwork-users] [GN] : add an author for a
> > dataset
> > Importance : Faible
> >
> >
> >
> > Hi Pierre,
> >
> > Don't want to distract the whole mailing list with my question :slight_smile:
> >
> > Is author a new role that you want to have included or is
it part
> > of the updated 19115 definition?
> >
> >
> >
> > As you have seen, Francois has commit access to
GeoNetwork, so he
> > may commit fixes to the CVS where needed. So if this is a fix to
> > the schema and not a custom role, he could add it today
and it will
> > be included in the 2.0.3 fix release we will generate on Monday.
> >
> >
> >
> > Ciao,
> >
> > Jeroen
> >
> >
> >
> > On Oct 6, 2006, at 8:18 AM, Pierre LAGARDE wrote:
> >
> >
> >
> >
> > Hi all,
> >
> >
> >
> > If we want to add a party with the role of “author”
(definition in
> > 19115 : party who authored the resource ) for the data (in
> > RespParty), you have to correct the actual schema in GN :
> >
> >
> >
> > Go to [GN directory]/web/xml/schemas/iso19115 and open the
> > schema.xsd. Search the sentence:
> >
> > <xs:attributeGroup name="attlist_RoleCd">
> >
> > <xs:attribute name="value" use="required">
> >
> > <xs:simpleType>
> >
> > <xs:restriction base="xs:token">
> >
> > <xs:enumeration value="resourceProvider"/>
> >
> > <xs:enumeration value="custodian"/>
> >
> > <xs:enumeration value="owner"/>
> >
> > <xs:enumeration value="user"/>
> >
> > <xs:enumeration value="distributor"/>
> >
> > <xs:enumeration value="originator"/>
> >
> > <xs:enumeration value="pointOfContact"/>
> >
> > <xs:enumeration value="principalInvestigator"/>
> >
> > <xs:enumeration value="processor"/>
> >
> > <xs:enumeration value="publisher"/>
> >
> > </xs:restriction>
> >
> > </xs:simpleType>
> >
> > </xs:attribute>
> >
> > </xs:attributeGroup>
> >
> >
> >
> > And add <xs:enumeration value="author"/> after publisher (and
> > before </xs:restriction>). Don’t forget to save.
> >
> >
> >
> > Restart GN and it will be good when you create/modify a metadata !
> >
> >
> >
> > In the french context, it could be very important because
the author
> > (s) have specific copyrights.
> >
> >
> >
> > Pierre.
> >
> >
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> >
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> >
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
> >
> >
--------------------------------------------------------------
--------
> > ---
> >
> > Take Surveys. Earn Cash. Influence the Future of IT
> >
> > Join SourceForge.net's Techsay panel and you'll get the
chance to
> > share your
> >
> > opinions on IT & business topics through brief surveys --
and earn
> > cash
> >
> > http://www.techsay.com/default.php?
> > page=join.php&p=sourceforge&CID=DEVDEV
> >
> > <mime-attachment.txt>
> >
> >
> >
> >
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
>
>

--------------------------------------------------------------
-----------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -- and
earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge

&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi john,

Sure, in the 19115 and 19139 standards, the most lists of value are
"CodeList" attribute. However, in the actual stable GN (2.0.X), all
codelists are managed with the use of an enumeration in the sense of XSD
schema.

But, don't blind the standard and his types and the implementation inside a
database (here XML). I'm not worried because it's possible to generate the
correct 19139 file with import/export interface (with the use of CodeList).

In fact, we could have included this functionality (management of codelist
and extension of them) in the "french" version of GN (and after merge with
GN) but I am a bit worried about the interoperability between the tool and
others users... Technical interoperability (I'm not sure that lot of
software understand the extension of Codelist) but also semantic
interoperability (If a partner adds a role, for example, "Vendor" but for a
other, this role = "distributor",...). To avoid these problems, we don't
include the extension of CodeList and so we keep the use of enumeration XSD.

Pierre

-----Message d'origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] De la part de
John.Hockaday@anonymised.com
Envoyé : mardi 10 octobre 2006 03:30
À : geonetwork-devel@lists.sourceforge.net
Objet : [GeoNetwork-devel] RE : add anauthor for a dataset

Hi All,

I am a bit worried about the use of the "enumeration" type in the
CI_RoleCode. CI_RoleCode is of type "CodeList" and is *not* an enumeration.
It can be extended by the users.

Is it the intention of GeoNetwork to make this a real 'enumeration' type?

An alternative is to use the "codeList" attribute of the code list type
elements to link directly to a URL for the relevant code list. eg.

<CI_RoleCode
codeList="http://www.anzlic.org.au/ANZLICProfile/codeLists/CI_RoleCode.xml&quot;
codeListValue="author">author</CI_RoleCode>

The URL is fictitious but is likely to exist in the future.

If there is a firewall problem then the CI_RoleCode.xml file could be
located
on the local system and an OASIS Catalog XML file used to reference the
local
copy.

Thanks.

John

-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] On
Behalf Of Andrea Carboni
Sent: Saturday, 7 October 2006 11:52 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] [SPAM] [GeoNetwork-users]
[GN] : add anauthor for a dataset

Hi all,

I added the 'author' entry to the RoleCd in both GN 2.0.3 and 2.1.0

Cheers,
Andrea

> Hi Pierre,
> Back to the list.
>
> On Oct 6, 2006, at 2:12 PM, Pierre LAGARDE wrote:
>
> > Hi Jeroen,
> >
> > No, it is a role included in the 19115 definition (if it were a
> > custom role, I would not have sent in the mailing list). I think
> > you forgot it but it’s not crucial (;-)… but in france
(and perhaps
> > in the whole wide world ?) people like to be identified
as an author..
> >
> > Francois could commit this fix but we propose you to
identify all
> > minor errors in the 19115 schema and to commit a new
schema in one
> > or two weeks.
> Good, no problem, except that codelist changes will have no side
> effect on the system. So you may consider committing that
small fix
> to the V2_0_FIX2 if its of use in version 2.0.3
> Ciao,
> Jeroen
>
> > Cheers,
> >
> > Pierre.
> >
> > De : Jeroen Ticheler [mailto:Jeroen.Ticheler@anonymised.com]
> > Envoyé : vendredi 6 octobre 2006 13:46
> > À : p.lagarde@anonymised.com
> > Cc : François Prunayre
> > Objet : Re: [SPAM] [GeoNetwork-users] [GN] : add an author for a
> > dataset
> > Importance : Faible
> >
> >
> >
> > Hi Pierre,
> >
> > Don't want to distract the whole mailing list with my question :slight_smile:
> >
> > Is author a new role that you want to have included or is
it part
> > of the updated 19115 definition?
> >
> >
> >
> > As you have seen, Francois has commit access to
GeoNetwork, so he
> > may commit fixes to the CVS where needed. So if this is a fix to
> > the schema and not a custom role, he could add it today
and it will
> > be included in the 2.0.3 fix release we will generate on Monday.
> >
> >
> >
> > Ciao,
> >
> > Jeroen
> >
> >
> >
> > On Oct 6, 2006, at 8:18 AM, Pierre LAGARDE wrote:
> >
> >
> >
> >
> > Hi all,
> >
> >
> >
> > If we want to add a party with the role of “author”
(definition in
> > 19115 : party who authored the resource ) for the data (in
> > RespParty), you have to correct the actual schema in GN :
> >
> >
> >
> > Go to [GN directory]/web/xml/schemas/iso19115 and open the
> > schema.xsd. Search the sentence:
> >
> > <xs:attributeGroup name="attlist_RoleCd">
> >
> > <xs:attribute name="value" use="required">
> >
> > <xs:simpleType>
> >
> > <xs:restriction base="xs:token">
> >
> > <xs:enumeration value="resourceProvider"/>
> >
> > <xs:enumeration value="custodian"/>
> >
> > <xs:enumeration value="owner"/>
> >
> > <xs:enumeration value="user"/>
> >
> > <xs:enumeration value="distributor"/>
> >
> > <xs:enumeration value="originator"/>
> >
> > <xs:enumeration value="pointOfContact"/>
> >
> > <xs:enumeration value="principalInvestigator"/>
> >
> > <xs:enumeration value="processor"/>
> >
> > <xs:enumeration value="publisher"/>
> >
> > </xs:restriction>
> >
> > </xs:simpleType>
> >
> > </xs:attribute>
> >
> > </xs:attributeGroup>
> >
> >
> >
> > And add <xs:enumeration value="author"/> after publisher (and
> > before </xs:restriction>). Don’t forget to save.
> >
> >
> >
> > Restart GN and it will be good when you create/modify a metadata !
> >
> >
> >
> > In the french context, it could be very important because
the author
> > (s) have specific copyrights.
> >
> >
> >
> > Pierre.
> >
> >
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> >
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> >
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
> >
> >
--------------------------------------------------------------
--------
> > ---
> >
> > Take Surveys. Earn Cash. Influence the Future of IT
> >
> > Join SourceForge.net's Techsay panel and you'll get the
chance to
> > share your
> >
> > opinions on IT & business topics through brief surveys --
and earn
> > cash
> >
> > http://www.techsay.com/default.php?
> > page=join.php&p=sourceforge&CID=DEVDEV
> >
> > <mime-attachment.txt>
> >
> >
> >
> >
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
> > --
> > Ce message a ete verifie par MailScanner pour des virus ou des
> > polluriels et rien de suspect n'a ete trouve.
> >
> > Les donnees et renseignements contenus dans ce message sont
> > personnels, confidentiels et privés.Toute publication,
utilisation
> > ou diffusion, meme partielle, doit etre autorisee.
> >
> > Any data and information contained in this electronic mail is
> > personal, confidential and private. Any total or partial
> > publication, use or distribution must be authorized.
>
>

--------------------------------------------------------------
-----------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -- and
earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge

&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
-------------------------------------------------------------------------Tak
e Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's
Techsay panel and you'll get the chance to share youropinions on IT &
business topics through brief surveys -- and earn
cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V_______________________________________________GeoNetwork-devel mailing
listGeoNetwork-devel@anonymised.com://lists.sourceforge.net/list
s/listinfo/geonetwork-develGeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork-- Ce message a ete verifie par
MailScanner pour des virus ou des polluriels et rien de suspect n'a ete
trouve.
Les donnees et renseignements contenus dans ce message sont personnels,
confidentiels et prives. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal,
confidential and secret. Any total or partial publication, use or
distribution must be authorized.

--
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.