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 is at the beginning of the
document.
For one case, editing text in the title element is almost instantaneous
(as one would like). Inserting a new element at the beginning of that
title element may take 3-5 seconds, but that is livable. But if we use
the Attributes Editor to change an attribute on an element that is two
elements up it can take over an hour before the Attributes Editor responds.
Over one hour. Wow. Never seen this before. Are you sure XXE did not
simply get frozen after reporting an exception?
See FAQ:
---
XXE seems to freeze when I do such and such action. What's going on?
---
http://www.xmlmind.com/xmleditor/faq.html#display_exception_in_console
To be a bit more specific, in:
<lingPaper
automaticallywrapinterlinears="yes"
chapterlabel="chapter "
figureRefDefault="singular"
sectionRefCapitalizedPluralLabel="§§"
sectionRefCapitalizedSingularLabel="§"
sectionRefDefault="singular"
sectionRefPluralLabel="§§"
sectionRefSingularLabel="§"
tablenumberedLabel="Table"
tablenumberedRefDefault="singular"
version="2.10.0"
<frontMatter
<title
<langData
lang="sei"
Cmiique Iitom:</langData
the Seri language</title
...
Typing before "Cmiique" is instantaneous. Inserting text before the
langData element takes a few seconds to respond. But inserting a new
attribute or editing an existing attribute in the lingPaper element
takes an exceedingly long time.
Is there something we can do with our configuration to speed this
process up? I can get you a sample document off-list.
May be it's caused by the way you have written your CSS. For example,
<lingPaper> may depend on all its attributes. Hence, changing any
attribute of <lingPaper> rebuilds the view of the whole document.
However this does not explain the ONE HOUR time lag.
Yes, please send me a sample document off-list. And also point me to
your custom configuration (or is it just your current contribution:
http://www.xmlmind.com/xmleditor/_usercontrib/XLingPap-3.3.0-xxe-8.1.0-180523200841393/XLingPap-3.3.0-xxe-8.1.0.zip
?).
Also please specify which version of XXE you are using, on which OS and
with which Java runtime. A simple way of sending us this information is
by using the "Copy" button of the "About" dialog box. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/helpMenu.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support