Opened 9 years ago

Closed 9 years ago

#2355 closed Bug (fixed)

FCK:editor output is not XHTML 1.0 compliant

Reported by: Michael Osipov Owned by: Michael Osipov
Priority: Must have (possibly next milestone) Milestone: FCKeditor.Java 2.4.1
Component: Server : Java Version: FCKeditor.Java 2.4
Keywords: Cc:

Description

the produced iframe source fails W3C validation.

Change History (8)

comment:1 Changed 9 years ago by Michael Osipov

Milestone: FCKeditor.Java 2.5
Resolution: fixed
Status: newclosed

Fixed with [2210]

comment:2 Changed 9 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: closedreopened

The W3C specification defines that & must be used, not &. That's what we have in all other languages btw.

See: C.12. Using Ampersands in Attribute Values (and Elsewhere) in the XHTML 1.0 specs.

comment:3 Changed 9 years ago by Michael Osipov

& == & The spec does only say that you have to escape the ampersand. That's what I did. The code is perfectly valid. There is no regulation saying you have to use the name instead of the unicode point. I ran my code thru the W3C validator and it's valid.

comment:4 Changed 9 years ago by Frederico Caldeira Knabben

I'm not strictly defend one or another implementation. I'm just pointing that the Java implementation is different from all other languages, with no apparent reason.

comment:5 Changed 9 years ago by Michael Osipov

Owner: set to Michael Osipov
Resolution: fixed
Status: reopenedclosed

Fixed in [2224] for the sake of uniformity.

comment:6 Changed 9 years ago by Michael Osipov

Milestone: FCKeditor.Java 2.5FCKeditor.Java 2.4.1

comment:7 Changed 9 years ago by Michael Osipov

Resolution: fixed
Status: closedreopened

Merge patch to branch 2.4.x

comment:8 Changed 9 years ago by Michael Osipov

Resolution: fixed
Status: reopenedclosed

Branch 2.4.x merged with trunk in [2537]

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy