Project

General

Profile

Bug #2496

Wrong values indexed when empty tags are indexed

Added by Saurabh Garg over 13 years ago. Updated over 6 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 correctlyResolved06/22/2006

History

#1 Updated by Chris Jones almost 13 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.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2496

#3 Updated by ben leinfelder over 6 years ago

  • Status changed from New to Closed

probably resolved by the related bug (6 years ago)

Also available in: Atom PDF