[liblouis-liblouisxml] Re: [liblouisutdml] 2 new revisions pushed by john.bo...@xxxxxxxxxxxxxxxxx on 2014-03-07 06:25 GMT

  • From: Michael Whapples <mwhapples@xxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 07 Mar 2014 09:12:11 +0000

Yes I agree. My main hesitation for adding anything this time was simply not being sure whether my change is final yet. Almost may be feel worth waiting until its final before writing it up. However that could lead to forgetting. So would you prefer documenting in news as I change or once agreed final?


Michael Whapples
On 07/03/2014 08:38, Christian Egli wrote:
John and Michael

Thanks 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




For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: