Push

1 view
Skip to first unread message

Ian C

unread,
Sep 27, 2015, 12:29:19 AM9/27/15
to CorinthiaTeam
Hi All,

in an effort to see more clearly what is going on I added some code to
dump a json representation of the concrete and abstract DFNode trees.

I also changed my editor thing to move the resulting files into a readable spot.

I use Chrome with an extension that reads json nicely see
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?utm_source=chrome-app-launcher-info-dialog

So use the web tool and submit a document.

The resulting json files can then be read from

http://localhost:3000/app/output/concrete.json
and
http://localhost:3000/app/output/abstract.json

I intend to change the front end to make the json more readable via a
gui like my odfe.

And in passing one of the things ii showed me was that the abstract
tree has a lot of DOM_TEXT elements that I didn't expect. They
disappeared when I removed a call to HTML_safeIndent, not sure on the
details of that yet.

--
Cheers,

Ian C

Ian C

unread,
Sep 27, 2015, 7:55:26 AM9/27/15
to CorinthiaTeam
Just add some clean up so it doesn't refer to ODF Explorer. :-)

And also added json dumps of the Put trees they are in ....
concretePut.json and abstractPut.json

I experimented with adding the json dumps to the Word filter. But my
document I thing was too complicated and the attributes of a drawing
caused badness.
Will try and find a simple document.

But it was very close.... attributes with the name "(null)" too...
--
Cheers,

Ian C
Reply all
Reply to author
Forward
0 new messages