[GeoNetwork-users] newline in description

Hey!

We imported some metadata as template, then imported some medatada using
this template. Now when we view this metadata (inspire view) some attributes
(as seen in the attached image) are not in-line with their values. The
values are few lines below the attribute name. Why would this happen?

http://osgeo-org.1803224.n2.nabble.com/file/n5762614/nl_problem.png

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p5762614.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

anyone?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p5891333.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I guess there are some options to check:

- there are a few line-breaks included in the value field of the metadata;
you can easily check that by editing the metadata;
- check the XSl for any line-breaks on that spot;
- perhaps you can play a bit with the CSS to align the value.

Just some things I can think of off the top of my head...
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p5898929.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I'm using GN 2.6.3 and i still have same problem. Is this issue related to:
http://trac.osgeo.org/geonetwork/ticket/299 issue ?

I've checked my metadata, there are no newlines or breaks that would lead to
such content generation.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397753.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hello,

2011/5/24 GeoUser <blazrepnik@anonymised.com>:

I'm using GN 2.6.3 and i still have same problem. Is this issue related to:
http://trac.osgeo.org/geonetwork/ticket/299 issue ?

This is fixed in 2.6.4 or apply SVN revision 7724 on your 2.6.3 install.

HTH.

Francois

I've checked my metadata, there are no newlines or breaks that would lead to
such content generation.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397753.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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

so why is issue 299 marked as '(reopened defect)'? with comment:

In the metadocument, element contains geonet:element child which is
probably not required (which explains why the patch does not work on
trunk).

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397780.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

2011/5/24 GeoUser <blazrepnik@anonymised.com>:

so why is issue 299 marked as '(reopened defect)'? with comment:

Because the issue is not fixed on trunk.

Cheers.

Francois

In the metadocument, element contains geonet:element child which is
probably not required (which explains why the patch does not work on
trunk).

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397780.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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

ah, missed that one :slight_smile:

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397795.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

so i added

<xsl:template mode="iso19139" match="*[@gco:nilReason='missing' and
count(*)=0 and not(geonet:element)]"/>

to

metadata-iso19139.xsl

and there is no difference. I still get such HTML generated:

<p></p>
<p> </p>
<p> 0.50 </p>
<p> </p>
<p></p>

So the property value does not get aligned with property name.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397811.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Maybe it's another issue, attached your metadata record to the ticket
or create a new ticket.

Thanks.

Francois

2011/5/24 GeoUser <blazrepnik@anonymised.com>:

so i added

<xsl:template mode="iso19139" match="*[@gco:nilReason='missing' and
count(*)=0 and not(geonet:element)]"/>

to

metadata-iso19139.xsl

and there is no difference. I still get such HTML generated:

<p></p>
<p> </p>
<p> 0.50 </p>
<p> </p>
<p></p>

So the property value does not get aligned with property name.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/newline-in-description-tp5762614p6397811.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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