I've just started working with xxe. I originally thought that this was just
related to the spell checker, but it appears to be worse than that.

I work in DocBook, with frequent use of the <screen> element.

I've found that for some reason, my screen elements are periodically
reformatted, losing the (very critical) appearance.

For example, I have a section which originally said:
            <screen width='75'>
neustar.biz.  60    IN A    156.154.164.103
neustar.biz.  1800  IN NS   pdns1.ultradns.net.
neustar.biz.  1800  IN NS   pdns2.ultradns.net.
neustar.biz.  1800  IN NS   pdns3.ultradns.org.
neustar.biz.  1800  IN NS   pdns4.ultradns.org.
neustar.biz.  1800  IN NS   pdns5.ultradns.info.
neustar.biz.  1800  IN NS   pdns6.ultradns.co.uk.
neustar.biz.  1800  IN SOA  pdns1.ultradns.net.
    sec_grp.neustar.com. 1311620677 10800 3600 604800 600
neustar.biz.  43200 IN MX   2 ns6.neustar.com.
neustar.biz.  43200 IN MX   2 ns7.neustar.com.
neustar.biz.  1800  IN TXT  "google-site-verification=
    7V6yaWsW0q7fh3JYXAuYOnpyE4BF8JA2RCawOaSrUCs"
neustar.biz.  1800  IN AAAA 2610:a0:16:4::1
    </screen>

but which was turned into:
 <screen
    width="75"> neustar.biz. 60 IN A 156.154.164.103 neustar.biz. 1800 IN NS
    pdns1.ultradns.net. neustar.biz. 1800 IN NS pdns2.ultradns.net.
    neustar.biz. 1800 IN NS pdns3.ultradns.org. neustar.biz. 1800 IN NS
    pdns4.ultradns.org. neustar.biz. 1800 IN NS pdns5.ultradns.info.
    neustar.biz. 1800 IN NS pdns6.ultradns.co.uk. neustar.biz. 1800 IN SOA
    pdns1.ultradns.net. sec_grp.neustar.com. 1311620677 10800 3600 604800
600
    neustar.biz. 43200 IN MX 2 ns6.neustar.com. neustar.biz. 43200 IN MX 2
    ns7.neustar.com. neustar.biz. 1800 IN TXT "google-site-verification=
    7V6yaWsW0q7fh3JYXAuYOnpyE4BF8JA2RCawOaSrUCs" neustar.biz. 1800 IN AAAA
    2610:a0:16:4::1 </screen>

Given the purpose of the screen element, which is to present data as it
would appear on the screen, this clearly is a bad thing!

Even worse, once it has happened, the only way I've been able to fix it is
to open that section of the document with another editor, and clean it up.
I don't seem to be able to find a way to edit the data within the screen
element. (I can add text within the element, but "enter" doesn't cause a
line break.)

I'm not sure what I'm doing which causes this.

Is there a way to prevent it?

And is there a way to reformat the blocks within xxe, or do I really have
to use a different editor to fix it?
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to