Project

General

Profile

Actions

Bug #5618

closed

odd characters cause html display of eml to fail

Added by gastil gastil over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
utilities
Target version:
Start date:
06/05/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5618

Description

While examining the HTML skins for EML, we found this example of a test doc caused the display to have an error (blank page):

https://demo2.test.dataone.org/knb/metacat/knb-lter-knz.2.4/default

and once the odd characters are removed, it displays normally:
https://demo2.test.dataone.org/knb/metacat/knb-lter-knz.2.5/default

These odd characters were found by
cat knb-lter-knz.2.4_mgb.xml | tr d '\000\011\013-\177' > foo
sort foo | uniq

â
°
µ
They are found on lines 39, 48, 577, 680, and 682 of knb-lter-knz.2.4 in the attached eml file. (This not likely to match the doc of the same pkg Id in the lter metacat, as that one is probably cleaned up.)

Note that showDataset can display that eml w/o removing the odd characters. They just appear as weird characters.

ie
http://mcr-dev.lternet.edu/cgi-bin/showDataset.cgi?docid=knb-lter-knz.2.3
where mcr-dev currently points to lava but that is likely to change.


Files

knb-lter-knz.2.4_mgb.xml (32.8 KB) knb-lter-knz.2.4_mgb.xml gastil gastil, 06/05/2012 03:33 PM
Actions

Also available in: Atom PDF