[GeoNetwork-users] Supported XML standards

Dear all,

I have to upload some xml files on my geonetwork, but I did not understand
exactly what type of files are supported. Actually, I was able to complete
the upload procedure for some ISO and CSR xml files, but I got troubles
with the CDI xml files.

I generate these CDI files by using Mikado. Then, I have validated all of
my stuff with both the Eclipse XML-tool and with the xml validation
service
http://www.seadatanet.org/validator/cdi/index.jsp
and it always went fine.

When I try to save these metadata on geonetwork
by using the Copy/Paste option (which is the only one that gives me a
quite useful error log), I got a huge amount of errors like:

Metadata is not valid.

XSD Validation error(s)

ERROR(1) org.xml.sax.SAXParseException: cvc-type.3.1.1: Element
'mdHrLvName' is a simple type, so it cannot have attributes, excepting
those whose namespace name is identical to
'http://www.w3.org/2001/XMLSchema-instance’ and whose [local name] is one
of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'.
However, the attribute, 'SDNIdent' was found. (Element: mdHrLvName with
parent element: Metadata)

ERROR(2) org.xml.sax.SAXParseException: cvc-type.3.1.1: Element
'rpOrgName' is a simple type, so it cannot have attributes, excepting
those whose namespace name is identical to
'http://www.w3.org/2001/XMLSchema-instance’ and whose [local name] is one
of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'.
However, the attribute, 'SDNIdent' was found. (Element: rpOrgName with
parent element: mdContact)

ERROR(3) org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'spatRepInfo'. One of
'{mdStanName, mdStanVer, distInfo, dataIdInfo}' is expected. (Element:
spatRepInfo with parent element: Metadata)

ERROR(4) org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'extEleSrc'. One of
'{extEleParEnt, extEleRule}' is expected. (Element: extEleSrc with parent
element: extEleInfo)

ERROR(5) org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'resTitle'. One of '{rpIndName,
rpOrgName, rpPosName, rpCntInfo, role}' is expected. (Element: resTitle
with parent element: extEleSrc)

and so on.

Does anyone has an idea to solve this issue?

Thank a lot for your help.

Luca