[wp-trac] Re: [WordPress Trac] #9030: Named entities present in WP core

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 16 17:16:50 GMT 2009


#9030: Named entities present in WP core
---------------------------+------------------------------------------------
 Reporter:  sampablokuper  |       Owner:                   
     Type:  defect (bug)   |      Status:  new              
 Priority:  normal         |   Milestone:  2.9              
Component:  Validation     |     Version:  2.7              
 Severity:  normal         |    Keywords:  reporter-feedback
---------------------------+------------------------------------------------

Comment(by sampablokuper):

 Replying to [comment:1 westi]:
 > That link reads to me like the issue is not the fact that named entities
 are used but that the rendering engine (browser) you are using does not
 know about the DTD you are using and so falls back to plain vanila xml.

 That does seem to be what's happening, but since it happens in WebKit and
 Gecko-based browsers, the userbase potentially affected is large.

 > Surely a named entity like   is valid for the RDFa in XHTML spec
 and so in that context the document is valid?

 Perhaps, but it still causes problems. OTOH, getting rid of named entities
 other than the 5 predefined XML entities in WP core is a very small task
 and easy to maintain by using NCRs or their corresponding UTF-8 characters
 instead.

 Another reason in favour of this is that people who want to use WordPress
 to [http://www.w3.org/TR/xhtml1-schema/ serve XHTML with XSDs] instead of
 DTDs will benefit too.

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


More information about the wp-trac mailing list