Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
rss_live_search vs XML Schema Error
Hi,
I’m using the rss_live_search on my site.
I’ve just run it through an XML validator (http://schneegans.de/sv/) and it errors with the following message:
Location: http://www.mattrobin.com/
Well-formed: Yes
Valid: No
HTTP status code: 200 OK
HTTP Content Type: text/html; charset=utf-8
HTTP encoding: utf-8
XML encoding: utf-8
Used encoding: utf-8
Public Identifier: -//W3C//DTD XHTML 1.0 Transitional//EN
System Identifier: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
Validated as: XHTML 1.0 Transitional
The element ‘fieldset’ in namespace ‘http://www.w3.org/1999/xhtml’ has invalid child element ‘label’ in namespace ‘http://www.w3.org/1999/xhtml’. List of possible elements expected: ‘legend’ in namespace ‘http://www.w3.org/1999/xhtml’. (129:7)
<code><label> <input id=“livesearch” name=“q” onkeypress=“liveSearchStart()” size=“23” /></label><br/></code>
I checked the W3 spec – and it’s right: this form should have ‘fieldset’ and ‘legend’ somewhere in there…and label on it’s own like that …<code><label></code>… just isn’t passing the validator’s spec.
Is there someway of updating the plugin php code so that it does validate?
Many thanks,
Matt
Last edited by mattrobin (2006-07-25 20:29:28)
— — — — — — — — —
www.mattrobin.com
Offline
Pages: 1