Opened 18 years ago
Last modified 7 years ago
#6623 new defect
emitting invalid xml:space="preserve" attributes on wiki and ticket pages (causes failed W3C validation)
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | low | Milestone: | next-major-releases |
| Component: | wiki system | Version: | 0.11b1 |
| Severity: | normal | Keywords: | whitespace xml:space |
| Cc: | dkg-debian.org@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I'm running a newly-updated trac site on version 0.11b1, using genshi 0.4.4.
When testing it against the W3C's XHTML validator, it is almost entirely compliant output, with one exception:
Line 65, Column 49: there is no attribute "xml:space".
<div class="wikipage searchable" xml:space="preserve">
The W3C itself says that this is legitimate XML, but that it must be "declared if it is used". i'm not enough of a web standards guru to be able to tell what that means, or where to fix the problem (is it a problem with genshi? with trac? with the W3C validator?)
Trac itself is so close to full validation that it would be a real shame for this one thing to slip through.
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
| Cc: | added; removed |
|---|
comment:2 by , 18 years ago
| Component: | general → wiki |
|---|---|
| Keywords: | whitespace added |
| Milestone: | → 0.12 |
| Owner: | changed from to |
follow-up: 5 comment:4 by , 18 years ago
| Keywords: | xml:space added |
|---|
comment:5 by , 15 years ago
| Priority: | normal → low |
|---|
comment:6 by , 10 years ago
| Owner: | removed |
|---|



This is done on purpose, in order to workaround the #3925 issue.
Real fix should be done in the WikiEngine refactoring, see TracDev/Proposals/WikiParserFormatterSplit#Technicaldetails.