Menu

#2 creation of invalid XML

open
nobody
None
5
2008-10-23
2008-10-23
Anonymous
No

it is possible for the package manager dialog to create an invalid XML file if the user enters XML-symbols such as <,> or & into any of the fields, this is because the strings are not XML-escaped for such symbols.
Also it might be a good idea to validate the XML file at the end and throw an error if it's invalid to help track down such cases. The same validation routine could be used for loading XML files so that the PM can always assume to work with valid XML files

Discussion


Log in to post a comment.

MongoDB Logo MongoDB