ampersand handling errors
Reported by Christy Bowles:
"Error in adding new packages (after complete package wizard and close package
editor):Org.xml.sax.SAXParseException. The entity name must immediately follow
the ?&? in the entity of reference."
"Can?t download files from Metacat (I could earlier today). I tried this several
times and nothing happened. Several later attempts generated the error
message:Org.xml.sax.SAXParseException. The entity name must immediately follow
the "&" in the entity of reference. Another attempt froze the program."
#2 Updated by Dan Higgins over 20 years ago
XML editor already had a 'normalize' method that converted special text
characters such as '&' to entity notation (i.e. $amp;) but the PackageWizard did
not make such conversion. In fact, entering an '&' in the PackageWizard caused
the final screen to be 'blank' (an often observed error which was previously
Added 'normalize' method to PackageWizard class to contvert text when new xml
docs are created.