[XXE] Opening files with lots of xincludes

2013-09-30 Thread Camille Bégnis
Hello,

we are confronted with DocBook documents involving a lof of little XML
files. It results in quite long loading times to load all the xincludes
recursively through WebDAV.
When one just wishes to edit the initial file itself it is quite annoying.
How is it possible to deactivate transclusion at loading time?

Thanks,

-- 
*NeoDoc*
*Camille Bégnis*
cami...@neodoc.fr
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France
http://www.neodoc.fr/

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

Re: [XXE] Opening files with lots of xincludes

2013-09-30 Thread Hussein Shafie

On 09/30/2013 01:27 PM, Camille Bégnis wrote:


we are confronted with DocBook documents involving a lof of little XML
files. It results in quite long loading times to load all the xincludes
recursively through WebDAV.
When one just wishes to edit the initial file itself it is quite annoying.
How is it possible to deactivate transclusion at loading time?



Sorry but this is not possible.



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


Re: [XXE] namespaces in XPath

2013-09-30 Thread Boris Goldowsky
In that case I think I would need to have this namespace added to the MathML 
configuration's common/mathml.incl in order to keep the dtbook configuration 
working.  If the real fix can't make it into v5.8, could you put in that 
temporary workaround?

Boris



On Sep 27, 2013, at 2:19 PM, Hussein Shafie  wrote:

> On 09/27/2013 06:58 PM, Boris Goldowsky wrote:
>> The dtbook.xxe add-on is failing in version 5.7 of the editor, complaining 
>> about this line:
>> 
>>
>> 
>> I see in the change log that that unknown namespaces were previously ignored 
>> and now are not, but I am not clear on how to get it to recognize the dtb 
>> namespace.  It is declared in the usual way using xmlns:dtb at the top of 
>> the file.
>> 
> 
> The , ,  and  child elements of a  being 
> namespace-aware, suffice to declare xmlns:dtb normally, in the configuration 
> file where these elements are used.
> 
> However, you have uncovered a bug. While what's above is necessary, it's not 
> sufficient (hence the bug).
> 
> The workaround is to add xmlns:dtb="XXX" at the top of *all* your 
> configuration files, whether a .xxe file (main file) or a .incl file (module) 
> and to stick to this prefix for your "XXX" namespace (that is, do not use 
> several prefixes for "XXX").
> 
> We'll try to fix this bug for v5.8. However, we plan to release v5.8 in a 
> week or so, so may be it's too late.
> 


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


Re: [XXE] namespaces in XPath

2013-09-30 Thread Hussein Shafie

On 09/30/2013 05:40 PM, Boris Goldowsky wrote:

In that case I think I would need to have this namespace added to the MathML 
configuration's common/mathml.incl in order to keep the dtbook configuration 
working.  If the real fix can't make it into v5.8, could you put in that 
temporary workaround?



The bug is already fixed. You'll find the bug fix in XXE v5.8 (to be 
released in about a week).



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


Re: [XXE] namespaces in XPath

2013-09-30 Thread Boris Goldowsky
Wonderful, thank you!

Boris


On Sep 30, 2013, at 12:54 PM, Hussein Shafie  wrote:

> On 09/30/2013 05:40 PM, Boris Goldowsky wrote:
>> In that case I think I would need to have this namespace added to the MathML 
>> configuration's common/mathml.incl in order to keep the dtbook configuration 
>> working.  If the real fix can't make it into v5.8, could you put in that 
>> temporary workaround?
>> 
> 
> The bug is already fixed. You'll find the bug fix in XXE v5.8 (to be released 
> in about a week).
> 


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