John and MichaelThanks for your patches. When improving user visible things could you guys also add an entry in the NEWS file? This will enable us to have some meaningful release announcements. I noticed when redoing the web site that it looks quite bad when we say (essentially): "Yeah, there is this new release, we don't really know what changed but please download and install it anyway" :-)
Thanks Christian On 03/07/2014 07:31 AM, John J. Boyer wrote:
This should fix the problem of duplicate semantics attributes in translateText and backTranslate John On Fri, Mar 07, 2014 at 06:26:02AM +0000, liblouisutdml@xxxxxxxxxxxxxx wrote:2 new revisions: Revision: 752f90f50082 Branch: default Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Fri Mar 7 06:16:40 2014 UTC Log: got rid of duplicate semantics attributes http://code.google.com/p/liblouisutdml/source/detail?r=752f90f50082 Revision: 39a565965d1f Branch: default Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Fri Mar 7 06:24:51 2014 UTC Log: fixed errror http://code.google.com/p/liblouisutdml/source/detail?r=39a565965d1f ============================================================================== Revision: 752f90f50082 Branch: default Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Fri Mar 7 06:16:40 2014 UTC Log: got rid of duplicate semantics attributes http://code.google.com/p/liblouisutdml/source/detail?r=752f90f50082 Modified: /liblouisutdml/transcriber.c ======================================= --- /liblouisutdml/transcriber.c Mon Feb 10 15:46:05 2014 UTC +++ /liblouisutdml/transcriber.c Fri Mar 7 06:16:40 2014 UTC @@ -3709,18 +3709,12 @@ xmlSetGenericErrorFunc (ctxt, libxml_errors); doc = xmlParseMemory (starter, strlen (starter)); rootNode = xmlDocGetRootElement (doc); - xmlNewProp (rootNode, (xmlChar *) "semantics", (xmlChar *) "action,no"); newNode = xmlNewNode (NULL, (xmlChar *) "head"); ud->head_node = xmlAddChild (rootNode, newNode); - xmlNewProp (ud->head_node, (xmlChar *) "semantics", (xmlChar *) - "action,markhead"); newNode = xmlNewNode (NULL, (xmlChar *) "body"); bodyNode = xmlAddChild (rootNode, newNode); - xmlNewProp (bodyNode, (xmlChar *) "semantics", (xmlChar *) - "style,document"); newNode = xmlNewNode (NULL, (xmlChar *) "section"); sectionNode = xmlAddChild (bodyNode, newNode); - xmlNewProp (sectionNode, (xmlChar *) "semantics", (xmlChar *) "action,no"); ud->doc = doc; return sectionNode; } @@ -4041,7 +4035,6 @@ if (ud->translated_length <= 0) return 1; newBlock = xmlNewNode (NULL, (xmlChar *) "p"); - xmlNewProp (newBlock, (xmlChar *) "semantics", (xmlChar *) "style,para"); curBrl = xmlNewNode (NULL, (xmlChar *) "brl"); makeDotsTextNode (curBrl, ud->translated_buffer, ud->translated_length, 1); ud->translated_length = ud->sync_text_length = 0; ============================================================================== Revision: 39a565965d1f Branch: default Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Fri Mar 7 06:24:51 2014 UTC Log: fixed errror http://code.google.com/p/liblouisutdml/source/detail?r=39a565965d1f For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com
-- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ----- SBS Leser, die neue Hoerbuch-App fuer iPhone und iPad. Mehr Infos unter http://online.sbs.ch For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com