layoutengine test text-transform2.xml

2005-06-09 Thread Simon Pepping
Why is this expectation in text-transform2 correct:

  fo:block2: fo:wrapper text-transform=capitalizeThis tExT is 
cafo:wrapper color=redpit/fo:wrapperAfo:inline 
color=blueliZ/fo:inlineed./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.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl



RE: layoutengine test text-transform2.xml

2005-06-09 Thread Victor Mote
Simon Pepping wrote:

 Why is this expectation in text-transform2 correct:
 
   fo:block2: fo:wrapper 
 text-transform=capitalizeThis tExT is cafo:wrapper 
 color=redpit/fo:wrapperAfo:inline 
 color=blueliZ/fo:inlineed./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



RE: layoutengine test text-transform2.xml

2005-06-09 Thread Victor Mote
Simon Pepping wrote:

 Why is this expectation in text-transform2 correct:
 
   fo:block2: fo:wrapper 
 text-transform=capitalizeThis tExT is cafo:wrapper 
 color=redpit/fo:wrapperAfo:inline 
 color=blueliZ/fo:inlineed./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



Re: layoutengine test text-transform2.xml

2005-06-09 Thread Jeremias Maerki
So I misunderstood and actually changed the wrong thing. Oh welll.

On 09.06.2005 22:25:01 Victor Mote wrote:
 Simon Pepping wrote:
 
  Why is this expectation in text-transform2 correct:
  
fo:block2: fo:wrapper 
  text-transform=capitalizeThis tExT is cafo:wrapper 
  color=redpit/fo:wrapperAfo:inline 
  color=blueliZ/fo:inlineed./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



Jeremias Maerki