Therefore we consider that what we do is OK.


No problem, as long as the realized document can be converted, we are good; we 
didn't know this was explicitly allowed by the DocBook assembly specification, 
but it makes sense.

Many thanks for your reply.

Phil.





Philippe Nobili

Subsurface Imaging - Product Engineering

Tel: +33 16447 4090 | Mobile: +33 63756 6441



CGG,

27 avenue Carnot

Massy, 91341 - France

http://www.cgg.com



Please consider the environment before printing.





-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: Wednesday, March 01, 2017 11:42 AM
To: nobili, philippe
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Assembly processor flaw/bug ?



On 03/01/2017 10:33 AM, nobili, philippe wrote:

>

> For the record, it seems that the assembly processor (version 1_0_0) may 
> generate invalid DocBook-5 documents in presence of <relationships> between 
> topic.

>

> Indeed, the <relationships>[...]</relationships> element is realized into an 
> itemized list which is placed at the end of the topic, that is possibly after 
> a <section> element for instance (we have a topic with two  sections).



That's right. We have chosen the simplest, most straightforward, strategy.





>

> It does not prevent the realized DocBook document from being converted 
> thought.



This is NOT a bug. This is explicitly allowed by the DocBook assembly 
specification.



Excerpts of http://tdg.docbook.org/tdg/5.1/ch06.html#structures

---

It is important to observe that the realized structure is often, but not 
necessarily, a valid DocBook document. What is important is not it's validity 
from an authoring perspective, but rather it's validity with respect to what 
the downstream processor is expecting.

---



The realized document does not have to be a valid, self-contained, DocBook 5.1 
document. Suffice for it to be convertible to other formats by the DocBook XSL 
stylesheets.



In other words, the realized document must not be considered to be a source 
DocBook 5.1 document but just a temporary, intermediate file.



The DocBook XSL stylesheets have no problems whatsoever with our translation of 
<relationships> in the realized document. Therefore we consider that what we do 
is OK.








This email and any accompanying attachments are confidential. If you received 
this email by mistake, please delete
it from your system. Any review, disclosure, copying, distribution, or use of 
the email by others is strictly prohibited.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to