Hussein Shafie wrote:
> I was not able to reproduce any problem using XXE v4.5.1. 

Thanks to what you wrote:
> [2] I've created my_db5.rng in XXE_install_dir/addon/config/docbook5/:
> 
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <grammar xmlns="http://relaxng.org/ns/structure/1.0";
>          datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes";>
>   <include href="rng/V5.0/docbook.rng">
>     <define name="db.phrase.role.attribute" >
>       <attribute name="role">
>         <choice>
>           <value type="string">tech</value>
>           <value type="string">nontechy</value>
>         </choice>
>       </attribute>
>     </define>
>   </include>
> </grammar>
--I found the problem.  Namely, I had incorrectly placed the <define> 
element outside the scope of the <include>.  You couldn't tell that I 
had done that, because in my email I had included only the <define> 
element code (because I thought surely the problem had to be there).

Thank you!
-- 
    Mike Maxwell
    What good is a universe without somebody around to look at it?
    --Robert Dicke, Princeton physicist

Reply via email to