In that case I think I would need to have this namespace added to the MathML 
configuration's common/mathml.incl in order to keep the dtbook configuration 
working.  If the real fix can't make it into v5.8, could you put in that 
temporary workaround?

Boris



On Sep 27, 2013, at 2:19 PM, Hussein Shafie <huss...@xmlmind.com> wrote:

> On 09/27/2013 06:58 PM, Boris Goldowsky wrote:
>> The dtbook.xxe add-on is failing in version 5.7 of the editor, complaining 
>> about this line:
>> 
>>    <test expression="$dot/ancestor::dtb:p and not ($selected) and not 
>> ($mark)"/>
>> 
>> I see in the change log that that unknown namespaces were previously ignored 
>> and now are not, but I am not clear on how to get it to recognize the dtb 
>> namespace.  It is declared in the usual way using xmlns:dtb at the top of 
>> the file.
>> 
> 
> The <set>, <get>, <test> and <match> child elements of a <macro> being 
> namespace-aware, suffice to declare xmlns:dtb normally, in the configuration 
> file where these elements are used.
> 
> However, you have uncovered a bug. While what's above is necessary, it's not 
> sufficient (hence the bug).
> 
> The workaround is to add xmlns:dtb="XXX" at the top of *all* your 
> configuration files, whether a .xxe file (main file) or a .incl file (module) 
> and to stick to this prefix for your "XXX" namespace (that is, do not use 
> several prefixes for "XXX").
> 
> We'll try to fix this bug for v5.8. However, we plan to release v5.8 in a 
> week or so, so may be it's too late.
> 


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to