[wp-trac] Re: [WordPress Trac] #9405: Shortcode parameter names can't have dashes in them

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 14:40:12 GMT 2009


#9405: Shortcode parameter names can't have dashes in them
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous     
     Type:  defect (bug)  |      Status:  new           
 Priority:  lowest        |   Milestone:  Future Release
Component:  General       |     Version:  2.8           
 Severity:  minor         |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by hakre):

 Some HTML Trivia:

  * attribute names are not case sensitive. (HTML 2.0)
  * The `NAMELEN' parameter in the SGML declaration (section SGML
 Declaration for HTML) limits the length of an attribute value to 1024
 characters.
  * HTML allows CDATA attributes to be unquoted provided the attribute
 value contains only letters (a to z and A to Z), digits (0 to 9), hyphens
 (ASCII decimal 45) or, periods (ASCII decimal 46)
  * An attribute specification consists of a name, an "=" and a value
 specification. The name refers to an item in an ATTLIST declaration.

 I see no attribute name in HTML (2.0, 3.2, 4.1 & xhtml 1.0) that conatins
 a dash or dot.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9405#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list