Please enable JavaScript to view this site.

Altova Authentic 2020 Desktop

The File section defines the way Authentic Desktop opens and saves documents. Related settings are in the Encoding section.

 

Automatic reload of changed files

If you are working in a multi-user environment, or if you are working on files that are dynamically generated on a server, you can watch for changes to files that are currently open in the interface. Each time Authentic Desktop detects a change in an open document, it will prompt you about whether you want to reload the changed file.

 

Validation

If you are using DTDs or schemas to define the structure of your XML documents, you can automatically check the document for validity whenever it is opened or saved. During Open and Save operations, you have the option of validating files only if the file-size is less than a size you specify in MB. If the document is not valid, an error message will be displayed. If it is valid, no message will be displayed and the operation will proceed without any notification. Authentic Desktop can also cache these files in memory to save any unnecessary reloading (e.g. when the schema being referred to is accessed through a URL). If your schema location declaration uses an URL, disable the "cache DTD/Schema files in memory" option to have changes made to the schema appear immediately, and not use the cached version of the schema.

 

XML Schema Version

The XSD mode that is enabled in Schema View depends on both (i) the presence/absenceand, if present, the valueof the /xs:schema/@vc:minVersion attribute of the XSD document, and (ii) the XML Schema Version option selected in the File section of the Options dialog (Tools | Options, screenshot below).

XMLSchemaVersion

The following situations are possible. XML Schema Version in the table below refers to the selection in the XML Schema Version pane shown above. The vc:minVersion values in the table refer to the value of the xs:schema/@vc:minVersion attribute in the XML Schema document.

 

XML Schema Version

vc:minVersion attribute

XSD mode

Always v1.0

Is absent, or is present with any value

1.0

Always v1.1

Is absent, or is present with any value

1.1

Value of @vc:minVersion

Attribute has value of 1.1

1.1

Value of @vc:minVersion

Attribute is absent, or attribute is present with a value other than 1.1

1.0

 

Project

When you start Authentic Desktop, you can open the last-used project automatically.

 

Save File

When saving an XML document, Authentic Desktop includes a short comment <!-- Edited with Authentic Desktop http://www.altova.com --> near the top of the file. This option can only be deactivated by licensed users, and takes effect when editing or saving files in the Enhanced Grid or Schema Design View.

 

If a StyleVision Power Stylesheet is associated with an XML file, the 'Authentic: save link to design file' option will cause the link to the StyleVision Power Stylesheet to be saved with the XML file.

 

Line breaks

When you open a file, the character coding for line breaks in it are preserved if Preserve old is selected. Alternatively, you can choose to code line breaks in any of three codings: CR&LF (for PC), CR (for MacOS), or LF (for Unix).

 

No output formatting for

In Text View, the indentation of an element can be made to reflect its position in the element hierarchy (see Save File). You can, however, override this indentation for individual elements. To do this, enter the element name in the No output formatting for field. All elements entered in this field will be formatted such that their descendant elements have no whitespace between them (see screenshots).

 

Hierarchical indentation for all elements:

output_formatting

No output formatting has been specified for element xs:restriction:

no_output_formatting

 

Save and exit

After making the settings, click OK to finish.

 

© 2019 Altova GmbH