[GeoNetwork-devel] Detect a bug in inspire template

Hi,

I found a bug in inspire template.

It actually has this section:

<gmd:alternateTitle gco:nilReason=“missing”/>

But it is wrong.
I don’t know how, but if it is filled with something it generate an error when write to DB.
I try to create a new MTD using inspire iso 19139 for services template.It is create, but if I try to change something I have an error.

I notice that uncheck the autofill option the error not happear but (obviously) the changes are not commited to the DB.

After some tests.
I discovered the problem is due to the
alternateTitle value.

It actually in the template inspire for services is defined like this:

<gmd:alternateTitle gco:nilReason=“missing”/>

because in every other tags was used another sintax I try to change to this sintax:

<gmd:alternateTitle gco:nilReason=“missing”>
gco:CharacterString/
</gmd:alternateTitle>

But the error there is again.

Finally I found that removing the alternateTitle from the metadata schema it
work without error.

Please notice I’m using IBM-DB2.
Perhaps there is some problem due even to this DBMS.I try with
mckoy but seem with it the error seem not happened.

Regards,

Andrea Peri.

Andrea Peri
. . . . . . . . .
qwerty àèìòù