[
https://issues.apache.org/jira/browse/TAPESTRY-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557414#action_12557414
]
Kevin Menard commented on TAPESTRY-2028:
----------------------------------------
Then I guess I'm with Chris on this. If it's configurable on an application
level, I don't think having it will hurt any. xml:space="preserve" is probably
not sufficient though.
I guess I'm still a bit skeptical about the whole thing because I don't know of
any other framework that does this. Like you, I'm not even sure how I would
profile for this to see that it's really my biggest bottleneck. Now, obviously
the parser itself could be profiled and it could be determined that under a
large number of nodes it starts to suffer. In that case, I'd rather
investigate how to make it more robust than to just start mucking around with
the DOM. I'd suspect it'd be something that would have to be run into once
users want to start rendering large, complex pages anyway.
> Mimimize whitespace in the output markup
> ----------------------------------------
>
> Key: TAPESTRY-2028
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2028
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.7
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.8
>
>
> Tapestry (4 and 5) has traditionally honored all the white space in a
> template. This is for a few specific cases, such as text inside a <pre>
> element (who uses those?).
> This results in output documents that, due to the extra whitespace that often
> surrounds Tapestry components, contain large amounts of whitespace.
> In most cases, interior white space (whitespace between text characters) can
> be reduced to a single space, and white space just after a tag or just before
> a tag can be eliminated entirely.
> The Tapestry template parser should honor the xml:space attribute and use it
> to determine what template whitespace is relevant, and what whitespace may be
> minimized or eliminated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]