[xep-support] Change bars error in case of many nested inline objects

From: Jan To¹ovskı <j.tosovsky@gmc.net>
Date: Thu Aug 06 2009 - 06:10:27 PDT

Hello,

I've probably encountered a variant of problem described here http://services.renderx.com/lists/xep-support/5780.html

If there are used several levels of inline elements in FO document wrapped with <rx:change-bar-begin> and <rx:change-bar-end> elements, it fails with the following error : formatting failed: com.renderx.xep.lib.InternalException: No matching point found for change-bar: /type=start,class=d0e4047,serial=9984,points: ((x=121213,y=110828,line_shift=0,region serial=20873,active=false) (x=121213,y=97628,line_shift=0,region serial=20873,active=false) (x=121213,y=742678,line_shift=0,region serial=20874,active=true)), regtype=normal, pair.serial=9986/ in region {column-0,normal,neutral,67,20873,(99213,79370),(496063,742678),phi=0}

Document is valid and also the change bar class mentioned in error report has corresponding begin and end parts. I've found it works properly if document is indented or there is inserted a whitespace character (space, linefeed, ...) before rx extension element. This workaround has side effect that each whitespace in inline elements is considered as important so there are e.g. unwanted spaces around inline images.

Could be this fixed somehow?

Jan

PS: xep 4.16

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Aug 6 06:45:40 2009

This archive was generated by hypermail 2.1.8 : Thu Aug 06 2009 - 06:45:47 PDT