Ticket #2355 (closed Bug: fixed)

Opened 21 months ago

Last modified 18 months ago

FCK:editor output is not XHTML 1.0 compliant

Reported by: mosipov Owned by: mosipov
Priority: High 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

Changed 21 months ago by mosipov

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to FCKeditor.Java 2.5

Fixed with [2210]

Changed 20 months ago by fredck

  • status changed from closed to reopened
  • resolution fixed deleted

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.

Changed 20 months ago by mosipov

& == & 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.

Changed 20 months ago by fredck

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.

Changed 20 months ago by mosipov

  • owner set to mosipov
  • status changed from reopened to closed
  • resolution set to fixed

Fixed in [2224] for the sake of uniformity.

Changed 18 months ago by mosipov

  • milestone changed from FCKeditor.Java 2.5 to FCKeditor.Java 2.4.1

Changed 18 months ago by mosipov

  • status changed from closed to reopened
  • resolution fixed deleted

Merge patch to branch 2.4.x

Changed 18 months ago by mosipov

  • status changed from reopened to closed
  • resolution set to fixed

Branch 2.4.x merged with trunk in [2537]

Note: See TracTickets for help on using tickets.