Hi.

xmlmind (2.11) inserts blank lines inside <xi:xinclude> on every save.

Example:

test_xi.xml:
<para>test</para>

test.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
<article id="game.baccarat.protocol" lang="ru">
  <section>
    <title>aaa</title>

    <xi:include href="test_xi.xml"
                xmlns:xi="http://www.w3.org/2001/XInclude";
                xpointer="element(/1)">
      <xi:fallback>
        <para>
          <emphasis>FIXME: MISSING XINCLUDE CONTENT</emphasis>
        </para>
      </xi:fallback>
    </xi:include>

  </section>
</article>

Now just open test.xml, change something and save. As result:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
<article id="game.baccarat.protocol" lang="ru">
  <section>
    <title>aaa</title>

    <xi:include href="test_xi.xml" xmlns:xi="http://www.w3.org/2001/XInclude";
                xpointer="element(/1)">



      <xi:fallback>



        <para>



          <emphasis>FIXME: MISSING XINCLUDE CONTENT</emphasis>



        </para>



      </xi:fallback>



    </xi:include>
  </section>
</article>

If you save this file again - even more lines will be added. And so on.

-- 
Sergey Skvortsov
mailto: skv at protey.ru

Reply via email to