[GeoNetwork-devel] Schematron results - "View errors only"

All,

I’ve noticed that the ‘View errors only’ checkbox doesn’t turn off spans for Schematron results that don’t contain errors. This means that even with the checkbox ticked there can still be a lot of noise on the results popup.

I’ve amended the javascript to toggle display:none/block for spans (rule titles) that aren’t followed by any errors, as well as any list elements that aren’t errors.

I would attach a diff, but the file has svn:ignore set on it, which puzzles me. Anyone help/explain?

Just.

This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
http://www.ordnancesurvey.co.uk

Hello Justin,

2010/9/22 Justin Rowles (C) <Justin.Rowles@anonymised.com>:

All,

I’ve noticed that the ‘View errors only’ checkbox doesn’t turn off spans for
Schematron results that don’t contain errors. This means that even with the
checkbox ticked there can still be a lot of noise on the results popup.

I’ve amended the javascript to toggle display:none/block for spans (rule
titles) that aren’t followed by any errors, as well as any list elements
that aren’t errors.

I would attach a diff, but the file has svn:ignore set on it, which puzzles
me. Anyone help/explain?

Which file is it ? Should be metadata-editor.js
updateValidationReportVisibilityRules function I guess ?

HTH.

Francois

Just.

This email is only intended for the person to whom it is addressed and may
contain confidential information. If you have received this email in error,
please notify the sender and delete this email which must not be copied,
distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the
writer and do not represent the official view of Ordnance Survey. Nor can
any contract be formed on Ordnance Survey's behalf via email. We reserve the
right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
http://www.ordnancesurvey.co.uk

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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