[GeoNetwork-devel] parent and child relationships

Hi,

My organisation wants me to implement parent child relationships using
automation within Geonetwork. I have started on a local implementation,
but wanted to touch base with the community to see where this stands.

Currently the version of the BlueNet MEST my org uses allows simple text
editing of the parent field with no automation, at least I don't think
there is so correct me if I'm wrong.

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and the
new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this will
be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST
2. If this was something you might want committed into the BlueNet SVN.
3. For the reverse relationship, parent to child, is there something in
the 19139 schema that caters for this, i.e. child identifier fields. If
not does the community think this might be a good schema extension to
have?

Cheers,
Kevin

--
------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the
sender by return email and delete the transmission, together with any
attachments, from your system. Thank you.
------------------------------------------------------------------------

Kevin,

I know this will not be much help but I have seen some info.
about this on the the geonetwork mail lists.
Regarding the relation between the parent and child there is an
element called aggregationInfo in the MD_DataIndentification element
which in theory could give links ot each child of the parent. However
I have not used it myself nor seen any real examples. See the email
from John Hockaday on the geonetwork-users list with subject 'Ancilliary datasets' dated 25/9/8.

I was interested in what sorts of datasets from AIMS will use this parent/child relationships as I have not seen much use of this out there in the metadata world yet.

Andrew Walsh
DODC-BlueNet

----- Original Message ----- From: "Kevin Gunn" <k.gunn@anonymised.com>
To: <geonetwork-devel@lists.sourceforge.net>
Sent: Monday, November 10, 2008 1:42 PM
Subject: [GeoNetwork-devel] parent and child relationships

Hi,

My organisation wants me to implement parent child relationships using
automation within Geonetwork. I have started on a local implementation,
but wanted to touch base with the community to see where this stands.

Currently the version of the BlueNet MEST my org uses allows simple text
editing of the parent field with no automation, at least I don't think
there is so correct me if I'm wrong.

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and the
new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this will
be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST
2. If this was something you might want committed into the BlueNet SVN.
3. For the reverse relationship, parent to child, is there something in
the 19139 schema that caters for this, i.e. child identifier fields. If
not does the community think this might be a good schema extension to
have?

Cheers,
Kevin

-- ------------------------------------------------------------------------
The information contained in this communication is for the use of the individual or entity to whom it is addressed, and may contain information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the sender by return email and delete the transmission, together with any attachments, from your system. Thank you.
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Thanks Andrew,

Yeah didn't see that one, read through it and I see there was talk about
and implementation that included hyperlinks to the parents, also some
extensions to the search on parent/child relationships. I'll check this
out again in the latest BlueNet SVN source and make sure I didn't miss
something. I know the version AIMS is using (BlueNet_MEST_1.1_100608)
doesn't appear to have anything. So even if the latest version does I'll
have to provide something until we migrate to the latest.

An example of a dataset here at AIMS is GBROOS (IMOS) where there are
multiple deployment of sensors on and instrument, multiple deployment of
instruments on a mooring, multiple moorings etc. In this case there are
metadata records at each level where we want to tie them together with
the parent child relationship, and having the hyperlinks to jump between
them allows simple traversing/hoping between them.

Cheers,
Kevin

-----Original Message-----
From: awalsh [mailto:awalsh@anonymised.com]
Sent: Monday, 10 November 2008 13:55 PM
To: Kevin Gunn
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] parent and child relationships

Kevin,

I know this will not be much help but I have seen some info.
about this on the the geonetwork mail lists.
Regarding the relation between the parent and child there is an
element called aggregationInfo in the MD_DataIndentification element
which in theory could give links ot each child of the parent. However
I have not used it myself nor seen any real examples. See the email
from John Hockaday on the geonetwork-users list with subject
'Ancilliary datasets' dated 25/9/8.

I was interested in what sorts of datasets from AIMS will
use this parent/child relationships as I have not seen much use
of this out there in the metadata world yet.

Andrew Walsh
DODC-BlueNet

----- Original Message -----
From: "Kevin Gunn" <k.gunn@anonymised.com>
To: <geonetwork-devel@lists.sourceforge.net>
Sent: Monday, November 10, 2008 1:42 PM
Subject: [GeoNetwork-devel] parent and child relationships

Hi,

My organisation wants me to implement parent child relationships using
automation within Geonetwork. I have started on a local

implementation,

but wanted to touch base with the community to see where this stands.

Currently the version of the BlueNet MEST my org uses allows simple

text

editing of the parent field with no automation, at least I don't think
there is so correct me if I'm wrong.

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and

the

new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this

will

be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST
2. If this was something you might want committed into the BlueNet

SVN.

3. For the reverse relationship, parent to child, is there something

in

the 19139 schema that caters for this, i.e. child identifier fields.

If

not does the community think this might be a good schema extension to
have?

Cheers,
Kevin

--

------------------------------------------------------------------------

The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the
sender by return email and delete the transmission, together with any
attachments, from your system. Thank you.

------------------------------------------------------------------------

------------------------------------------------------------------------
-

This SF.Net email is sponsored by the Moblin Your Move Developer's

challenge

Build the coolest Linux based applications with Moblin SDK & win great

prizes

Grand prize is a trip for two to an Open Source event anywhere in the

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

--
------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the
sender by return email and delete the transmission, together with any
attachments, from your system. Thank you.
------------------------------------------------------------------------

Hi Kevin,

as mentionned in previous post, I've been working on parent child
relationship. You could have a look to
http://brgm-geosourcev2.demo-camptocamp.com/geonetwork/
and search for "land cover". Then you have access to one parent and 2
child (UI only in French sorry).

The idea is to make this available in future GeoNetwork release creating
a sandbox for geosource project in sourceforge as mentionned by Pierre 2
weeks ago [1]. Once loaded in sourceforge, it will be available. If you
want to access to the source code you could download the version 2 beta
installer [2].

On lun, 2008-11-10 at 12:42 +1000, Kevin Gunn wrote:

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and the
new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this will
be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST

2. If this was something you might want committed into the BlueNet SVN.
3. For the reverse relationship, parent to child, is there something in
the 19139 schema that caters for this, i.e. child identifier fields.

No, but you could store in the index for each metadata record the
parentIdentifier and using the index you could find children. Then
everytime you update a metadata record, you have to update the index for
the current metadata and the related old/new parents (if set).

If
not does the community think this might be a good schema extension to
have?

Maybe we could work on a join proposal for handling parent-child
relation on the trac ?

Ciao.

Francois

[1] http://trac.osgeo.org/geonetwork/wiki/Community_FR
[2] http://adullact.net/frs/?group_id=561

Hi Francois,

Thx for the reply, good to see you have been working on this. I do try
to keep track of the Geonetwork dev forum but I have a bunch of apps I'm
maintaining and have been very busy last couple of months so have missed
some of the previous forum entries. I'm happy to work on a joint
proposal with you so long as the requirements my organisation require
are met.

Checked out your geonetwork url and tried the "land cover" search but it
returned no records for me. Nor did "la couverture des terres" :-). I
had not authenticated though.

Will definitely check out what you have done (your source). I have made
some good progress here locally with parent->child and also
child->parent with the schema extension I mentioned below. I introduced
logic to Create, Update, and Delete metadata services so everything
stays sync'd up. Functionality I have at the moment is as follows;

-automation of child->parent and parent->child linkage creation in
create
-automation of parent->child linkage removal in delete
-automation of child->parent and parent->child linkage creation and
removal in update
-allowing creation of child and sibling relationships via the
create/duplicate service and setting up the appropriate child->parent
and parent->child linkage
-failing delete on parents that have children
-href link in show form only when string length of parentIdentifier and
childIdentifier fields is 36 (UUID length)

I haven't started on the indexing yet so these relationships can be
searchable, but even just having the links in the show form allows easy
traversal up and down the generations. My thoughts on searching were
that you really only want to search for children, as there can only be
one parent. Not sure returning a single record is of any real use when
you can link directly to it from the child record (maybe just need a
parent link in the brief showed in the search results list). But a
search on all descendants of a parent could be quite a few records. I
don't know that lucene will let me return all descendants anyway which
is what my org wants, so might have to introduce a new service to do
this. Guess I could have some sort of recursive lucene search.

For any of what I have done to be taken on board I really need everyone
to agree on something like the following schema extension to the mcp
profile (not sure if you even use this profile. If not perhaps this
could be worked into the iso19139 standard). What I have done so far
required no changes to the DB schema, just the XML schema.

    <!-- child records -->
    <xs:element name="childIdentifier"
type="gco:CharacterString_PropertyType"/>
    <xs:element name="children">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="mcp:childIdentifier" minOccurs="0"
maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

<!--

-->
<!-- Add revisionDate to gmd:MD_Metadata -->
<!--

-->

  <xs:complexType name="MD_Metadata_Type">
    <xs:annotation>
      <xs:documentation>
                Extends the metadata element to include revisionDate and
AIMS Extension elements
      </xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="gmd:MD_Metadata_Type">
        <xs:sequence>
                    <xs:element ref="mcp:children" minOccurs="0"
maxOccurs="1"/>
          <xs:element name="revisionDate"
type="gco:Date_PropertyType" minOccurs="0"/>
                    <xs:element ref="mcp:AIMS_Extensions" minOccurs="1"
maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute ref="gco:isoType"
use="required" fixed="gmd:MD_Metadata"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

Happy to get any comments you (or anyone) have on this. I don't have
this running on an external site yet, hope to have something like a test
site available soon so long as my org lets me. The following is the AIMS
external metadata system, but it doesn't have any of this on it yet.
http://data.aims.gov.au/geonetwork

Cheers,
Kevin

-----Original Message-----
From: Francois-Xavier Prunayre
[mailto:francois-xavier.prunayre@anonymised.com]
Sent: Wednesday, 12 November 2008 19:06 PM
To: Kevin Gunn
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] parent and child relationships

Hi Kevin,

as mentionned in previous post, I've been working on parent child
relationship. You could have a look to
http://brgm-geosourcev2.demo-camptocamp.com/geonetwork/
and search for "land cover". Then you have access to one parent and 2
child (UI only in French sorry).

The idea is to make this available in future GeoNetwork release creating
a sandbox for geosource project in sourceforge as mentionned by Pierre 2
weeks ago [1]. Once loaded in sourceforge, it will be available. If you
want to access to the source code you could download the version 2 beta
installer [2].

On lun, 2008-11-10 at 12:42 +1000, Kevin Gunn wrote:

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and

the

new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this

will

be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST

2. If this was something you might want committed into the BlueNet

SVN.

3. For the reverse relationship, parent to child, is there something

in

the 19139 schema that caters for this, i.e. child identifier fields.

No, but you could store in the index for each metadata record the
parentIdentifier and using the index you could find children. Then
everytime you update a metadata record, you have to update the index for
the current metadata and the related old/new parents (if set).

If
not does the community think this might be a good schema extension to
have?

Maybe we could work on a join proposal for handling parent-child
relation on the trac ?

Ciao.

Francois

[1] http://trac.osgeo.org/geonetwork/wiki/Community_FR
[2] http://adullact.net/frs/?group_id=561

--
------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the
sender by return email and delete the transmission, together with any
attachments, from your system. Thank you.
------------------------------------------------------------------------

Kevin, Francios, geonetworkers,

An issue related to parent/child metadata.................

Recently I have been testing a new geonetwork capability (thanks to Francois) which generates
1 service metadata record and dataset metadata records
for each layer from a WMS GetCapability document.

Am I right in thinking that the parent is the WMS 'service' metadata
record and the layers (dataset) records are the children? If this
is correct then you probably need to set the parentIdentifier for each
of the layers (children)?

Andrew Walsh
DODC-BlueNet

----- Original Message ----- From: "Kevin Gunn" <k.gunn@anonymised.com>
To: <francois-xavier.prunayre@anonymised.com>
Cc: <geonetwork-devel@lists.sourceforge.net>
Sent: Thursday, November 13, 2008 12:25 PM
Subject: Re: [GeoNetwork-devel] parent and child relationships

Hi Francois,

Thx for the reply, good to see you have been working on this. I do try
to keep track of the Geonetwork dev forum but I have a bunch of apps I'm
maintaining and have been very busy last couple of months so have missed
some of the previous forum entries. I'm happy to work on a joint
proposal with you so long as the requirements my organisation require
are met.

Checked out your geonetwork url and tried the "land cover" search but it
returned no records for me. Nor did "la couverture des terres" :-). I
had not authenticated though.

Will definitely check out what you have done (your source). I have made
some good progress here locally with parent->child and also
child->parent with the schema extension I mentioned below. I introduced
logic to Create, Update, and Delete metadata services so everything
stays sync'd up. Functionality I have at the moment is as follows;

-automation of child->parent and parent->child linkage creation in
create
-automation of parent->child linkage removal in delete -automation of child->parent and parent->child linkage creation and
removal in update
-allowing creation of child and sibling relationships via the
create/duplicate service and setting up the appropriate child->parent
and parent->child linkage
-failing delete on parents that have children
-href link in show form only when string length of parentIdentifier and
childIdentifier fields is 36 (UUID length)

I haven't started on the indexing yet so these relationships can be
searchable, but even just having the links in the show form allows easy
traversal up and down the generations. My thoughts on searching were
that you really only want to search for children, as there can only be
one parent. Not sure returning a single record is of any real use when
you can link directly to it from the child record (maybe just need a
parent link in the brief showed in the search results list). But a
search on all descendants of a parent could be quite a few records. I
don't know that lucene will let me return all descendants anyway which
is what my org wants, so might have to introduce a new service to do
this. Guess I could have some sort of recursive lucene search.

For any of what I have done to be taken on board I really need everyone
to agree on something like the following schema extension to the mcp
profile (not sure if you even use this profile. If not perhaps this
could be worked into the iso19139 standard). What I have done so far
required no changes to the DB schema, just the XML schema.
======================================================== <!-- child records -->
   <xs:element name="childIdentifier"
type="gco:CharacterString_PropertyType"/>
   <xs:element name="children">
       <xs:complexType>
           <xs:sequence>
               <xs:element ref="mcp:childIdentifier" minOccurs="0"
maxOccurs="unbounded"/>
           </xs:sequence>
       </xs:complexType>
   </xs:element>

<!--

-->
<!-- Add revisionDate to gmd:MD_Metadata -->
<!--

-->

<xs:complexType name="MD_Metadata_Type">
<xs:annotation>
<xs:documentation>
               Extends the metadata element to include revisionDate and
AIMS Extension elements
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gmd:MD_Metadata_Type">
<xs:sequence>
                   <xs:element ref="mcp:children" minOccurs="0"
maxOccurs="1"/>
<xs:element name="revisionDate"
type="gco:Date_PropertyType" minOccurs="0"/>
                   <xs:element ref="mcp:AIMS_Extensions" minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="gco:isoType"
use="required" fixed="gmd:MD_Metadata"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>

Happy to get any comments you (or anyone) have on this. I don't have
this running on an external site yet, hope to have something like a test
site available soon so long as my org lets me. The following is the AIMS
external metadata system, but it doesn't have any of this on it yet.
http://data.aims.gov.au/geonetwork

Cheers,
Kevin

-----Original Message-----
From: Francois-Xavier Prunayre
[mailto:francois-xavier.prunayre@anonymised.com] Sent: Wednesday, 12 November 2008 19:06 PM
To: Kevin Gunn
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] parent and child relationships

Hi Kevin,

as mentionned in previous post, I've been working on parent child
relationship. You could have a look to http://brgm-geosourcev2.demo-camptocamp.com/geonetwork/
and search for "land cover". Then you have access to one parent and 2
child (UI only in French sorry).

The idea is to make this available in future GeoNetwork release creating
a sandbox for geosource project in sourceforge as mentionned by Pierre 2
weeks ago [1]. Once loaded in sourceforge, it will be available. If you
want to access to the source code you could download the version 2 beta
installer [2].

On lun, 2008-11-10 at 12:42 +1000, Kevin Gunn wrote:

I'm implementing a check box in the duplicate form that lets you say
it's a child record. Then using the fixed info styling with its
environment element (that is already used to pass in changeDate and

the

new UUID) pass in the old UUID from the template/parent and set the
parent identifier field with this UUID. The finishing touch on this

will

be to then display the parent Identifier as a link (or have a
button/icon next to it) that when selected opens the parent record.

I want to find out any details on the following.
1. Has something already been done and I'm just reinventing the wheel
here. Or that there is something currently planed for addition to the
current MEST

2. If this was something you might want committed into the BlueNet

SVN.

3. For the reverse relationship, parent to child, is there something

in

the 19139 schema that caters for this, i.e. child identifier fields.

No, but you could store in the index for each metadata record the
parentIdentifier and using the index you could find children. Then
everytime you update a metadata record, you have to update the index for
the current metadata and the related old/new parents (if set).

If
not does the community think this might be a good schema extension to
have?

Maybe we could work on a join proposal for handling parent-child
relation on the trac ?

Ciao.

Francois

[1] http://trac.osgeo.org/geonetwork/wiki/Community_FR
[2] http://adullact.net/frs/?group_id=561

-- ------------------------------------------------------------------------
The information contained in this communication is for the use of the individual or entity to whom it is addressed, and may contain information which is the subject of legal privilege and/or copyright.

If you have received this communication in error, please notify the sender by return email and delete the transmission, together with any attachments, from your system. Thank you.
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Help please
For some reason I get a
  "IllegalStateException : Root element not set"
response when I try to import metadata using DS_OtherAggregate (or any
of the other aggregation classes)as its root element.

Apparently this was previously not an issue.
Has there been a change that would generate this sort of response?

Cheers

e
BLEYS Evert Mr
ABARES Data Manager
Australian Bureau of Agricultural Resource Economics and Sciences
Department of Agriculture, Fisheries and Forestry
GPO Box 1563 CANBERRA CITY ACT 2601
Australia
Ph +61 (0)2 6272 5627
Email Evert.Bleys@anonymised.com

------
------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Fisheries and Forestry (DAFF). The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from DAFF. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.

If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. DAFF is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.

If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly.

This notice should not be deleted or altered.

------

------

Hi Evert,

Geonetwork doesn't yet understand (and to my knowledge never has understood) ISO metadata records that use a root element other than gmd:MD_Metadata or profile equivalent. I suspect it could be adapted to understand those types of records without too much work.

The 'Root element not set' exception message is due to the fact that GeoNetwork is trying to extract some bit of info from the metadata (eg. uuid etc) usually by using an XSLT which assumes that the root element is gmd:MD_Metadata or profile equivalent.

Cheers,
Simon
________________________________________
From: Bleys, Evert [Evert.Bleys@anonymised.com]
Sent: Friday, 23 March 2012 4:37 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] DS_Aggregate as root [SEC=UNCLASSIFIED]

Help please
For some reason I get a
        "IllegalStateException : Root element not set"
response when I try to import metadata using DS_OtherAggregate (or any
of the other aggregation classes)as its root element.

Apparently this was previously not an issue.
Has there been a change that would generate this sort of response?

Cheers

e
BLEYS Evert Mr
ABARES Data Manager
Australian Bureau of Agricultural Resource Economics and Sciences
Department of Agriculture, Fisheries and Forestry
GPO Box 1563 CANBERRA CITY ACT 2601
Australia
Ph +61 (0)2 6272 5627
Email Evert.Bleys@anonymised.com

------
------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Fisheries and Forestry (DAFF). The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from DAFF. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.

If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. DAFF is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.

If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly.

This notice should not be deleted or altered.

------

------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net

GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Simon and Evert,

Le 23 mars 2012 13:01, <Simon.Pigot@anonymised.com> a écrit :

Hi Evert,

Geonetwork doesn't yet understand (and to my knowledge never has understood) ISO metadata records that use a root element other than gmd:MD_Metadata or profile equivalent. I suspect it could be adapted to understand those types of records without too much work

I added support for 2 types of root element [1] for iso19110 last week
so we could probably do similar things for iso19139. It will probably
require a bit more changes in presentation XSL and indexing.

Cheers.

Francois

[1] http://trac.osgeo.org/geonetwork/ticket/824

The 'Root element not set' exception message is due to the fact that GeoNetwork is trying to extract some bit of info from the metadata (eg. uuid etc) usually by using an XSLT which assumes that the root element is gmd:MD_Metadata or profile equivalent.

Cheers,
Simon
________________________________________
From: Bleys, Evert [Evert.Bleys@anonymised.com]
Sent: Friday, 23 March 2012 4:37 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] DS_Aggregate as root [SEC=UNCLASSIFIED]

Help please
For some reason I get a
"IllegalStateException : Root element not set"
response when I try to import metadata using DS_OtherAggregate (or any
of the other aggregation classes)as its root element.

Apparently this was previously not an issue.
Has there been a change that would generate this sort of response?

Cheers

e
BLEYS Evert Mr
ABARES Data Manager
Australian Bureau of Agricultural Resource Economics and Sciences
Department of Agriculture, Fisheries and Forestry
GPO Box 1563 CANBERRA CITY ACT 2601
Australia
Ph +61 (0)2 6272 5627
Email Evert.Bleys@anonymised.com

------
------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Fisheries and Forestry (DAFF). The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from DAFF. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.

If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. DAFF is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.

If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly.

This notice should not be deleted or altered.

------

------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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