Switching from Xmlmind 3 to 4.1 shows a weird behavior when opening
documents created with 3.6.2. The following example is a simplified
version from an 3.6.2 created Docbooc 5 conformant instance:

<?xml version="1.0" encoding="UTF-8"?>
<book version="5.0" xmlns="http://docbook.org/ns/docbook";
      xmlns:xlink="http://www.w3.org/1999/xlink";
      xmlns:xi="http://www.w3.org/2001/XInclude";
      xmlns:svg="http://www.w3.org/2000/svg";
      xmlns:ns="http://docbook.org/ns/docbook";
      xmlns:mml="http://www.w3.org/1998/Math/MathML";
      xmlns:html="http://www.w3.org/1999/xhtml";>
  <info>
        <orgname>Hdm</orgname>
  </info>
  <chapter>
    <title>Some text</title>
    <para>A paragraph.</para>
  </chapter>
</book>

If I now try to add a second chapter by hitting "ctrl-j" taking the
existing chapter as the context node an empty "<chapter/> is inserted.
But it does not contain a mandatory title plus a block level element as
child nodes. So contrary to the old behavior the resulting document is
invalid.

Even more strange: The new Xmlmind 4.1 creates a different dummy <info>
namely:

...
  <info>
    <title></title>

    <author>
      <personname><firstname></firstname><surname></surname></personname>

      <affiliation>
        <orgname></orgname>
      </affiliation>
    </author>

    <pubdate></pubdate>
  </info>
...

Using this one works fine.

On the other hand without asking authors to manually do the
corresponding change older Docbook 5 instances cannot be edited.

System: Xmlmind 4.1.0 running on linux , java version 1.5.0_16, Plugins
see attached png file. Minor CSS and XSL modifications, no RelaxNG
schema modifications from our side.

Martin Goik

-- 
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

Der Wohlstand ist das Durchgangsstadium von der Armut
zur Unzufriedenheit                      (Paul Spree)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugins.png
Type: image/png
Size: 36033 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081114/683b01bc/attachment.png
 

Reply via email to