[TYPO3-50-general] RFC: Improved Shorthand Syntax

Jochen Rau jochen.rau at typoplanet.de
Wed Oct 21 11:57:44 CEST 2009


Hi,

Robert Lemke wrote:
> Karsten and I just wondered if even "->" is okay for XML – or is it only
> allowed enclosed in CDATA?
> Would this be acceptable by an XML Parser?
>
> <f:image title="{post.title->f:format.crop(maxChars: 30)}" />

I have read the latest xml specs. The ">" is an allowed chacacter inside 
attribute values. "<" is not allowed.

--- snip -----
AttValue ::= '"' ([^<&"]|Reference)* '"' | "'" ([^<&']|Reference)* "'"
--- snip -----

http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue

Sorry guys

<f:image title="{post.title << f:format.crop(maxChars: 30)}" />

is dead ;-)

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-5_0-general mailing list