Philippe Nobili wrote:
> 
> We use the *convertdoc* command line utility provided with XMLmind 
> (3.6.2) in order to automatically update the contents of published 
> information (a combination of XMLMind+WebDAV+Subversion hook scripts).
> 
> This leads to problems when a document is locked, or is read-only since 
> executing  the *convertdoc* command  pops-up warning dialog boxes and 
> confirmation dialog boxes. This is an issue here because *convertdoc* is 
> invoked in a batch process where no user interaction can occur (in 
> addition, the XML documents are not modified, just converted, so that 
> the warning are pointless in this case).
> 
> Is there a workaround to these problems ? and if not, can it be fixed in 
> a next release ?
> Thank you for your reply, and for XMLmind tool.
> 

All the problems (except proxy problems, which occur even when using 
XMLmind XML Editor) related to using convertdoc to convert documents 
stored on remote servers should be fixed. The fix is available in 
v3.7.0, to be released in a couple of weeks.

About convertdoc and user authentication
----------------------------------------

Most document repositories will require the user of convertdoc to 
authenticate herself/himself.

Convertdoc being a command-line tool designed to be used in makefiles, 
batch files, shell scripts, etc, authentication by the means of an 
interactive dialog with the user is not a solution. That's why 
convertdoc automatically uses the credentials stored by XMLmind XML 
Editor in the preferences file of the user.

Example:

User john needs to execute convertdoc to convert 
http://www.acme.com/docs/foo.xml to HTML.

Server http://www.acme.com/docs/ requires user john to authenticate himself.

User john starts XMLmind XML Editor and opens 
http://www.acme.com/docs/foo.xml.

A dialog box is displayed prompting user john for his credentials.

User john types his username and password and, by checking the "Remember 
these username and password" checkbox, allows XMLmind XML Editor to 
store the credentials in XXE_user_preferences_dir/preferences.properties

 From then, user john may execute convertdoc to convert *any* *document* 
stored on http://www.acme.com/docs/.

Reply via email to