Project

General

Profile

Actions

Bug #2517

closed

Charset bug: > "less than" symbol does not display correctly

Added by Callie Bowdish over 17 years ago. Updated almost 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
registry
Target version:
Start date:
08/21/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2517

Description

The < "less than" symbol does not display correctly. It displays as < in the data repository. When using Morpho it looks correct but than when viewing the data package Online the < is displayed instead. I think this is a problem with the > symbol too.

I've been typing in the text "less than" and "greater than" for a workaround but it would be good to get this solved.

Actions #1

Updated by Matt Jones over 17 years ago

Inigo San Gil also reports a related issue:

My valid EML file
(http://www.cedarcreek.umn.edu/data/emlFiles/pl00e001.xml) has the
following line (content):

|Field|Plot|Ntrt|NitrAdd|Date|Taxon|Species |Biomass |Prop <== Labels

However, once harvested, the metacat link to the document
(
http://metacat.lternet.edu/knb/metacat?action=read&qformat=xml&docid=knb-lter-cdr.7901001.2
)

has that same line slightly changed to: |Field|Plot|Ntrt|NitrAdd|Date|Taxon|Species |Biomass |Prop <== Labels

Note: the original entity character "<" has been translated to its
corresponding literal char, "<".
Needles to say, the resulting XML is not well formed.

Any way to correct this easily?

Actions #2

Updated by Jing Tao about 16 years ago

This bug has been fixed (base on callie's testing). Here are somethings i did:
1)Use ServletOutputSteam to replace PrintWriter to send response of read and query actions. So Java wouldn't encode the special characters.
2)Fix a bug in normalize method in MetacatUtil class - it will encode special characters.
3)Fix a similar bug in normalize subroute in register-dataset.cgi.

Actions #3

Updated by Jing Tao about 16 years ago

see above comment for fixing.

Actions #4

Updated by Jing Tao almost 16 years ago

Change milestone to 1.8.1

Actions #5

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 2517

Actions

Also available in: Atom PDF