Dear Hussein,

Thank you very much for your reply, -this explains very well what the
problem is, however it does not explain how xml-mind has allowed this text
without a para. I only used XML-mind to edit the document, and I am the
only author. Can it have happened during some copy/paste operation ?

Best reg. Kaj.

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: 3. juni 2013 17:10
To: Kaj Hjøllund Jensen
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Edit / Reference / Copy as reference is grey

On 06/03/2013 02:19 PM, Kaj Hjøllund Jensen wrote:
>
> I copied the document that I sent to you to a new library, and opened
> it from there, -i.e. with all the missing references that you saw.
> In that case, it is chapter 2, section 2.1 that I want to copy as a
> reference.
>
> However as I open it without all the resources to be included, you are
> absolutely right, that I can mark section 2.1, and do a "copy as
> reference".
>
> Now I have stripped off all references etc from the document
> (attached), and still I can't mark section 1 ("Mounting and
> Adjustment") Should be much easier for you to debug now.
>

The short document you sent me is structurally invalid (red icon at the
bottom/left of the main window).

Section "Mounting and Adjustment"

a) directly contains some text;
b) contains a second empty title;
c) contains a para which itself contains 2 para child elements.

(This is easier to spot using the tree view. See attached screenshot.)

After correcting the 3 above mistakes using XXE (see attached, valid,
document), I was able to copy Section "Mounting and Adjustment" as a
reference.

As explained in my previous email, XMLmind XML Editor does not always
behave as expected when the document being edited is structurally invalid
(red icon at the bottom/left of the main window). In other words, please
first fix your document before attempting to actually work on it.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to