tracker issue : CF-3041357

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 82726:(Watson Migration Closure)cfinput should not always include the terminating slash in the associated input tag that it generates

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Steve Sommers / Steve Sommers (Steve Sommers)

Created: 04/21/2010

Components: Language, Tags

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

cfinput should not always include the terminating slash in the associated input tag that it generates. This is invalid syntax for some older DOCTYPE's.
Method:

Create a template using the following doc type:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">Now create a cfform. Include one of two cfinput tags. Try to pass the W3C.org markup validator.
Result:

cfinput always included a closing slash in the input tag that is generated:<cfinput...> generates <input... />This is incorrect syntax with some DOCTYPE's and the W3C validator is flagging this as an error. CF needs a way to turn this off or better yet, honor however the programmer coded the cfinput tag -- if the programmer included the slash, include the slash. If not, don't.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041357

External Customer Info:
External Company:  
External Customer Name: Steve Sommers
External Customer Email: 6CCB6ECA439559340AAC0C16
External Test Config: 04/21/2010

Attachments:

Comments: