Project

General

Profile

Actions

Bug #2496

closed

Wrong values indexed when empty tags are indexed

Added by Saurabh Garg over 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
metacat
Target version:
Start date:
07/20/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2496

Description

The indexing code fails when the xml document has empty tags. Example of this is knb-lter-sbc.13 There is an empty protocol>creator>inidvidualName>surName element and because of that http://sbcdata.lternet.edu/external/Reef/Protocols/Bottom_Temperature/Continuous_Temperature_Protocol.pdf shows up as contact last name in the end results.


Related issues

Blocks Metacat - Bug #2469: DocumentImpl.buildIndex() does not index XPaths with attributes correctlyResolvedSaurabh Garg06/22/2006

Actions
Actions #1

Updated by Chris Jones almost 18 years ago

This bug should be fixed with the recent changes to bug #2469, but I haven't verified that it is completely fixed. The indexing mechanism in DocumentImpl.buildIndex() has been modified to correct offset indexing, and should cover this issue as well. Testing needs to be done.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2496

Actions #3

Updated by ben leinfelder over 11 years ago

  • Status changed from New to Closed

probably resolved by the related bug (6 years ago)

Actions

Also available in: Atom PDF