Simon Pepping wrote:

> Why is this expectation in text-transform2 correct:
> 
>           <fo:block>2: <fo:wrapper 
> text-transform="capitalize">This tExT is ca<fo:wrapper 
> color="red">pit</fo:wrapper>A<fo:inline 
> color="blue">liZ</fo:inline>ed.</fo:wrapper></fo:block>
> 
>     <eval expected="2: This Text Is CaPitALizEd." 
> xpath="//flow/block[2]"/>
> 
> Reading the XSL spec, section 7.16.6, I expect 'This Text Is 
> Capitalized' despite the wrapper and inline elements. The 
> spec only speaks about words. There is no mention that fo 
> child elements would make a difference.

You are correct. The result should be:
    This TExT Is CapitAliZed.


Victor Mote

Reply via email to