Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-27 Thread Andy Black
Thank you so much for looking into this and providing such good explanations. On the use of just plain xpath and especially the use of the background-color style, I originally tried that back when I made XLingPaper work with XXE version 7.   We corresponded on how this use of background-color

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-22 Thread Hussein Shafie
On 11/21/2018 05:20 PM, Andy Black wrote: The shorter document is at https://drive.google.com/open?id=. Unzip it somewhere. I'm sorry but this Google Drive file is not public. I am not allowed access it using my Google account. Anyway, I've used your large SeriGrammarXML_2017.xml docume

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-21 Thread Hussein Shafie
On 11/20/2018 10:36 PM, Andy Black wrote: On 11/20/2018 1:59 AM, Hussein Shafie wrote: Please consider replacing label(xpath, ...) http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/label.html by just xpath(...): http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/xpath.html I h

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-21 Thread Andy Black
On 11/20/2018 1:59 AM, Hussein Shafie wrote: On 11/19/2018 07:13 PM, Andy Black wrote: ... I will examine ways to try and deal with our CSS challenge.  So I'll know, was a main part of the problem with the label(xpath()) items the time it takes to process the xpath statements and that every tim

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-20 Thread Hussein Shafie
On 11/19/2018 07:13 PM, Andy Black wrote: Thank you so much for looking into these two timing issues. No problem. We look forward to XXE version 8.3 with the fix for the top-level attribute issue. I will examine ways to try and deal with our CSS challenge. So I'll know, was a main part o

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-20 Thread Andy Black
Thank you so much for looking into these two timing issues. We look forward to XXE version 8.3 with the fix for the top-level attribute issue. I will examine ways to try and deal with our CSS challenge.  So I'll know, was a main part of the problem with the label(xpath()) items the time it t

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-11-17 Thread Hussein Shafie
We have investigated this issue. It is caused by this excerpt of your CSS stylesheet: --- @property-group contentType() { display:concatenate(xpath("if(not((/xlingpaper/styledPaper/lingPaper|/lingPaper)/contentControl/@showOnlyChosenItemsInEditor) or (/xlingpaper/styledPaper/lingPaper

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-10-25 Thread Andy Black
Thanks, Hussein.  I'll get you the file off-list. I do not think XXE gets frozen as eventually it does succeed.  It just takes a really long time. The custom configuration is the XLingPaper one you mention, yes. I've sent you the res

Re: [XXE] XXE slow when editing attribute of top-level element with large documents

2018-10-25 Thread Hussein Shafie
On 10/24/2018 08:19 PM, Andy Black wrote: We have a custom configuration we've developed and have noticed that with large documents, when we edit an attribute of a high-level element, XXE can take an exceedingly long time to respond. This is not the case if we edit PCDATA in another element that

[XXE] XXE slow when editing attribute of top-level element with large documents

2018-10-25 Thread Andy Black
We have a custom configuration we've developed and have noticed that with large documents, when we edit an attribute of a high-level element, XXE can take an exceedingly long time to respond.  This is not the case if we edit PCDATA in another element that is at the beginning of the document.