[
https://issues.apache.org/jira/browse/FOP-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809256#comment-13809256
]
Alexey Neyman commented on FOP-2308:
------------------------------------
Chris,
I beg to disagree about following CSS2. The XSL 1.1 spec says:
{quote}Some of the formatting objects and many of the properties in XSL come
from the CSS2 specification, ensuring compatibility between the two.
...
A number of properties are copied from the CSS2 specification. In addition, the
CSS2 errata all apply. See [CSS2].
Properties copied from CSS2 are placed in a box with wide black borders, and
properties derived from CSS2 properties are placed in a box with thin black
borders.
{quote}
The text-transform property is clearly one of such properties (it is in
wide-bordered box, and its heading states it is a CSS2 definition). Doing
something different than what CSS2 describes would violate the POLA (principle
of least astonishment) for the users. I am not sure if XSL specification allows
for non-standard values for the properties; if it does, perhaps some custom
value could be used for what Luis wants (e.g.
text-transform="lowercase+capitalize").
Regards,
Alexey.
> text-transform="capitalize" assumes input text is lowercase
> -----------------------------------------------------------
>
> Key: FOP-2308
> URL: https://issues.apache.org/jira/browse/FOP-2308
> Project: Fop
> Issue Type: Bug
> Reporter: Luis Bernardo
> Fix For: trunk
>
> Attachments: test.fo
>
>
> <fo:block text-transform="capitalize">CAPITALIZE</fo:block> should output
> Capitalize, not CAPITALIZE as it does currently.
--
This message was sent by Atlassian JIRA
(v6.1#6144)