NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Morpho cannot open EML docs with <?xml-stylesheet> directive #886

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 4692, https://projects.ecoinformatics.org/ecoinfo/issues/4692 Original Date: 2010-01-22 Original Assignee: ben leinfelder


SBC and MCR LTER sites are including <?xml-stylesheet> directives in their EML docs. This is valid XML, but Morpho was expecting the document root/schema def/doctype to be on the second line of the XML (not the 3rd or fourth or fifth...). With this error, the documents could not be opened in Morpho at all (symptom: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3482)

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2010-01-22T18:58:00Z


recursively going through the XML to find the correct line - not assuming it is on the second.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:27:46Z


Original Bugzilla ID was 4692