Ticket #66 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Remove extraneous namespace nodes from search results

Reported by: rjwalker Owned by: fxp
Priority: minor Milestone: v2.4.0 RC2
Component: General Version: v2.2.0 Final
Keywords: Cc:

Description

The various search result pages contain xalan, gco, and geonet namespace nodes. They are harmless, but they bugged me enough that I decided to remove them. (OK, it was more out of curiosity than fixing a real problem.) I attach the patch.

There might be other pages with the same "issue" . . . .

Innocent question number 1: should

    exclude-result-prefixes="xalan geonet"

be

    exclude-result-prefixes="geonet"
    extension-element-prefixes="xalan"

instead?

Innocent question number 2: what's the reason for the use of xalan:nodeset instead of exsl:node-set?

Attachments

gnpatch7.txt Download (2.4 KB) - added by rjwalker 6 years ago.
Patch to remove extraneous namespace nodes

Change History

Changed 6 years ago by rjwalker

Patch to remove extraneous namespace nodes

Changed 5 years ago by fxp

  • owner changed from geonetwork-devel@… to fxp

Changed 5 years ago by fxp

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to v2.4.0 RC2

Committed revision 4355.

Also applied to search embedded.

Innocent question number 2: what's the reason for the use of xalan:nodeset instead of exsl:node-set?

Simon made an update on this. We are not using xalan nodeset function anymore.

Note: See TracTickets for help on using tickets.