L.S.
Jeff Heath found out that the 9.2.5 Flex beta has a new property in the XHTML export, “nodeId”: He wrote in the google flex group: This doesn’t affect the display of the data if you open it in a browser. But if you try to use this XHTML file to build an app with DAB, the lexeme forms appear with before each lexeme. Should we assume that this is the export format of the future, and so make the request of the DAB developers to ignore that property in the XHTML processing? [end quote]
I can confirm that this causes problems in App creation (reversal) :
Ken Zook replied: This node was added to help right-click Configure Dictionary View. It’s recorded as LT-22039 as something FLEx will not export. However, this should really be fixed in Dictionary App Builder. DAB should ignore any attributes it does not recognize, rather than printing them. [end quote]
What would be your advice in this matter for DAB users who have installed the 9.2.5 Flex beta ?
Thanks for that news Chris. Yes I already went back to 9.1 …
If for the upcoming update you could also address the issue of not being able to set the vernacular color in the reverse to the same color as the vernacular in the main window, that would be great. It is cosmetic but it is nice if the same language can be displayed in the same color both in the main window as well as in the reveral indexes.
If you need a temporary fix until the new version of DAB comes out, you can manually edit the .xhtml file. Just open it with a text editor, and look for the nodeId= property. From our experience, all of the nodeID’s were identical, in our xhtml file, and it appears in your file as well. If they are always the same, then you could search for
'nodeId=“-2104980621” ’
(note space at the end) and replace it with nothing. You might check that your tags now read something like this: <span lang="fr"> with a single space between span and lang. You could also then search for nodeId= again, to make sure that they are all gone.
So, the nodeId…" is the same for any particular <div class… or <span…, however between the different <div… or <span… the number in quotations (i.e. “-209190054”) is not the same. So to find all 'nodeId=“…” ’ you can search using the following Regular Expression: 'nodeId=“.+?” ’ and replace that with nothing. Then the xhtml exported from 9.2.5 Flex beta can be imported into DAB with no issues. That is, until the newer version of DAB with fix is released or you can revert back to FLEx 9.1.
Grover