[GeoNetwork-users] Adding directory entry issue: any hints? [SEC=UNCLASSIFIED]

Hi Guys
Note: I am using ISO 19115-3 in GN 3.2.1

Hints greatly appreciated. (Is this a fire-wall issue ie no access to internet?)

I get
Import report
NoSchemaMatchesException
Autodetecting schema failed for metadata record with root element CI_Individual in namespace [Namespace: prefix "cit" is mapped to URI "http://standards.iso.org/iso/19115/-3/cit/1.0"\].
When I try to import
<cit:CI_Individual
    xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/1.0&quot;
    xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0&quot;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
    xmlns:gml="http://www.opengis.net/gml/3.2&quot;
    xmlns:xlink="http://www.w3.org/1999/xlink&quot;&gt;
   <cit:name>
        <gco:CharacterString>FAMILY Given Title</gco:CharacterString>
    </cit:name>
    <cit:contactInfo>
        <cit:CI_Contact>
            <cit:phone>
                <cit:CI_Telephone>
                    <cit:number>
                        <gco:CharacterString>+61 2 6272 3933</gco:CharacterString>
                    </cit:number>
                    <cit:numberType>
                        <cit:CI_TelephoneTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_TelephoneTypeCode&quot;
                            codeListValue="voice"/>
                    </cit:numberType>
                </cit:CI_Telephone>
            </cit:phone>
            <cit:address>
                <cit:CI_Address>
                    <cit:deliveryPoint>
                        <gco:CharacterString>GPO Box 858</gco:CharacterString>
                    </cit:deliveryPoint>
                    <cit:city>
                        <gco:CharacterString>CANBERRA CITY</gco:CharacterString>
                    </cit:city>
                    <cit:administrativeArea>
                        <gco:CharacterString>Australian Capital Territory</gco:CharacterString>
                    </cit:administrativeArea>
                    <cit:postalCode>
                        <gco:CharacterString>2601</gco:CharacterString>
                    </cit:postalCode>
                    <cit:country>
                        <gco:CharacterString>AUSTRALIA</gco:CharacterString>
                    </cit:country>
                    <cit:electronicMailAddress>
                        <gco:CharacterString>info.abares@anonymised.com</gco:CharacterString<mailto:info.abares@anonymised.com%3c/gco:CharacterString>>
                    </cit:electronicMailAddress>
                </cit:CI_Address>
            </cit:address>
        </cit:CI_Contact>
    </cit:contactInfo>
    <cit:positionName>
        <gco:CharacterString>[name of Author1's position within this organisation]</gco:CharacterString>
    </cit:positionName>
</cit:CI_Individual>

Cheers

e
BLEYS Evert Mr
Data Manager
Australian Bureau of Agricultural and Resource Economics and Sciences
Department of Agriculture and Water Resources
GPO Box 858 Canberra City ACT Australia 2601
44 Mort St Braddon ACT 2612
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 and Water Resources. 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 the Department. 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. The Department of Agriculture and Water Resources 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,

2017-11-06 5:42 GMT+01:00 Bleys, Evert <Evert.Bleys@anonymised.com>:

Hi Guys
Note: I am using ISO 19115-3 in GN 3.2.1

Hints greatly appreciated. (Is this a fire-wall issue ie no access to
internet?)

I get
Import report
NoSchemaMatchesException
Autodetecting schema failed for metadata record with root element
CI_Individual in namespace [Namespace: prefix "cit" is mapped to URI "
http://standards.iso.org/iso/19115/-3/cit/1.0&quot;\].

All subtemplates root needs to be declared for the schemaManager to find a
match.
https://github.com/metadata101/iso19115-3/blob/3.4.x/src/main/plugin/iso19115-3/schema-ident.xml#L67-L95

BTW, it may be needed to adapt the editor to use new subtemplates.

You also need to index subtemplate to give them a proper title
eg.
https://github.com/metadata101/iso19115-3/blob/3.4.x/src/main/plugin/iso19115-3/index-fields/index-subtemplate.xsl#L76

HTH

Francois

PS: ISO19115-3 is mainly supported for 3.4. It may be better to use this
branch which includes also quite some changes on subtemplate management
depending on your needs.

When I try to import
<cit:CI_Individual
    xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/1.0&quot;
    xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0&quot;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
    xmlns:gml="http://www.opengis.net/gml/3.2&quot;
    xmlns:xlink="http://www.w3.org/1999/xlink&quot;&gt;
   <cit:name>
        <gco:CharacterString>FAMILY Given Title</gco:CharacterString>
    </cit:name>
    <cit:contactInfo>
        <cit:CI_Contact>
            <cit:phone>
                <cit:CI_Telephone>
                    <cit:number>
                        <gco:CharacterString>+61 2 6272 3933</gco:
CharacterString>
                    </cit:number>
                    <cit:numberType>
                        <cit:CI_TelephoneTypeCode codeList="
http://standards.iso.org/ittf/PubliclyAvailableStandards/
ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#
CI_TelephoneTypeCode"
                            codeListValue="voice"/>
                    </cit:numberType>
                </cit:CI_Telephone>
            </cit:phone>
            <cit:address>
                <cit:CI_Address>
                    <cit:deliveryPoint>
                        <gco:CharacterString>GPO Box
858</gco:CharacterString>
                    </cit:deliveryPoint>
                    <cit:city>
                        <gco:CharacterString>CANBERRA
CITY</gco:CharacterString>
                    </cit:city>
                    <cit:administrativeArea>
                        <gco:CharacterString>Australian Capital
Territory</gco:CharacterString>
                    </cit:administrativeArea>
                    <cit:postalCode>
                        <gco:CharacterString>2601</gco:CharacterString>
                    </cit:postalCode>
                    <cit:country>
                        <gco:CharacterString>AUSTRALIA</gco:
CharacterString>
                    </cit:country>
                    <cit:electronicMailAddress>
                        <gco:CharacterString>info.
abares@anonymised.com</gco:CharacterString<mailto:inf
o.abares@anonymised.com%3c/gco:CharacterString>>
                    </cit:electronicMailAddress>
                </cit:CI_Address>
            </cit:address>
        </cit:CI_Contact>
    </cit:contactInfo>
    <cit:positionName>
        <gco:CharacterString>[name of Author1's position within this
organisation]</gco:CharacterString>
    </cit:positionName>
</cit:CI_Individual>

Cheers

e
BLEYS Evert Mr
Data Manager
Australian Bureau of Agricultural and Resource Economics and Sciences
Department of Agriculture and Water Resources
GPO Box 858 Canberra City ACT Australia 2601
44 Mort St Braddon ACT 2612
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 and Water Resources. 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 the Department. 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. The Department of Agriculture and Water Resources 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
------
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork