Project

General

Profile

Bug #361

strip empty elements if blank

Added by Matt Jones almost 19 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
11/30/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
361

Description

When users fill out form fields in the various XML editors in morpho, we
sometimes create an empty element if they left the form field blank. We need to
systematically go through all ways of creating XML in morpho and be sure that
any XML produced strips out all empty elements before saving. This may in fact
make the documents invalid with respect to the DTDs, but it is the right thing
to do. If a document is invalid, we should have a mechanism for saving it
without its DOCTYPE (see related bug).

History

#1 Updated by Dan Higgins almost 18 years ago

Moving to 1.4 because the associated bug for working without DocTypes has proven
to be difficult and was moved to 1.4.

#2 Updated by Dan Higgins over 16 years ago

empty elements are removed in new version of Morpho (1.5)

#3 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 361

Also available in: Atom PDF