Opened 16 years ago

Closed 15 years ago

#66 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (3)

by rjwalker, 16 years ago

Attachment: gnpatch7.txt added

Patch to remove extraneous namespace nodes

comment:1 by fxp, 15 years ago

Owner: changed from geonetwork-devel@… to fxp

comment:2 by fxp, 15 years ago

Milestone: v2.4.0 RC2
Resolution: fixed
Status: newclosed

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.