The "Save" command saves the contents of the active document to the file it has been opened from.
When saving a document in XML Spy, the file is automatically checked for well-formedness. All XML documents must be well-formed - otherwise they could not be interpreted by any other XML application. The XML-Declaration is also checked for an encoding specification and it is applied to the document when the file is saved.
You can optionally have XML Spy automatically validate a document upon saving (this can be defined in the File tab on the Tools | Options dialog).
If a validation error occurs, XML Spy will bring up a popup message with a detailed error explanation and will highlight the offending item. You can then choose to fix the problem or save the document as is. In the latter case, you will be prompted to correct the error the next time you open the file with XML Spy.
Previous
Top
Next