Andy B. wrote:
For what it's worth, another thing PPP has that can make loading
(and overt saving) slow is its Schematron checking. The JJJ file
has a validation element with a
status attribute set to 'minimum'. The PPP.xxe file sets things so
that when validation/@status='minimum', no checks in the Schematron file
are invoked. Otherwise, the Schematron checks are made.
On my Windows machine, it took over 3 minutes to load with the
Schematron checks turned on and no CSS file.
Yes, that's right. I've tested that.
All this to say that Schematron checking is another place that can be
time-consuming (but I bet you already knew that).
In fact, I thought that Schematron checking was fast.
Note that our implementation is written in Java (not in XSLT) and is
based on a very fast XPath 1.0 implementation (taken from James Clark's
xt, the first XSLT engine).
This implementation has not changed between v5.3 and v7. I really don't
see how I can make it faster.
When I wrote:
---
A CSS-styled, large, monolitic, 2Mb, 500 pages, DocBook 5 document takes
just ~5 *seconds* to open on my Linux box.
---
this included the DocBook 5 Schematron checking.
Your PPP.sch is short but may be it makes extensive checks on elements
which appear a very large number of times (tens of thousands of times)
in your JJJ file.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support