The prototype of the new parsers is nearing completion (slowly - 2 steps
forward, one back).
The majority of the xslt file is at least started with the exception of link
processing, which is the next step. The output is generally correct xhtml,
with previous bugs in paragraphs and lists corrected so that they will be
properly formed according to the standards. I had to add additional
procedural processing to the Womdocument interpretation of the rules to
supplement the handling of tables and lists to overcome my shortcomings in
fashioning regexp to manage this entirely within rules.
The interpretation of theinput wiki text to a WomDocument is essentially
complete within the scope of the prototype. The production version needs to
have verification of a wiki links existence or requirement to create the
link added to the WomDocument. This will use the existing cache properties
in FlexWiki to ensure this has minimal additional impact on the processing.
Additional rules need to be created to handle WOM objects only output via
WikiTalk, e.g. forms, divs, etc. These should not impact on the
responsiveness of the parser/translation performance.
The 'View XSLT Document' and 'View WikiOutput' tabs have been activated. The
first allows the xslt rules to be viewed. If anybody can improve on what I
have done so far please speak up - I an new a xslt. The only thing I have
discovered is that there is a significant performance increase with ensuring
that all xhtml tag output be done via xsl:element. The 'View WikiOutput' has
2 options. The first button applies the xslt on a generated WomDocument. The
second button does not require the pre-generation of a WomDocument and takes
the selected Wiki InputDoc and processes it into a WomDocument (only in
memory) and then processes the xslt to generate the xhtml output.
So long as my server is not flushing cache most pages are doing the
conversion to WomDocument and applying the xslt to generate the xhtml output
in under 100ms. There are only a very few pages that exceed 400ms.
There are 2 topics that I am having difficulty with [2] and [3] where the
xml intermediate in-memory file objects to the values in these topics. I am
unsure how to enable the xml to handle the sgml entities in [2]. [3] has
other non-valid characters at the low end that cannot be managed. Any
ideas??
[1] http://ods.dyndns.org/NewParser/default.aspx
[2]
http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/CharacterReferenceTable.html
[3] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/CharacterTest.html
If anyone wants a copy of the source please contact me and I will supply the
latest version.
John Davidson
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users