RE: [PEAR-DEV] [PEPr] Comment on XML::XML_FastCreate
| From: | Guillaume Lecanu | Date: | Mon, 19 Apr 2004 09:35:23 +0000 |
| Subject: | RE: [PEAR-DEV] [PEPr] Comment on XML::XML_FastCreate | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-27997@lists.php.net to get a copy of this message | ||
Le lun 19/04/2004 à 11:14, Robin Ericsson a écrit :
> On Mon, 2004-04-19 at 11:08, Guillaume Lecanu wrote:
> > Le lun 19/04/2004 à 10:48, Stephan Schmidt a écrit :
> > > Hi,
> > Hi Stephan,
> >
> > >
> > > I really lik the package, but there are still some issues I have:
> > >
> > > 1. HTML attribute
> > > > Specify single attribute with the null value.
> > > > $x->input(array(type=>'checkbox', checked=>null))
> > > > = <input type="checkbox" checked />
> > >
> > > This is not valid, neither in XML nor in XHTML :-( I don't know how to
> > > solve this, but maybe a flag to switch on HTML (without the X)
> > > compatibility would be nice.
> > Yes i know, but this is make for HTML compatibility..
> > If you really think an option 'html' is needed to use it, i'll add it.
> > But i think the developper know what is does..
>
> <input type="checkbox" checked="checked" /> should work in (all?)
> current browsers and also is xml-compliant.
>
Yes, checked="checked" must be used for XHTML documents.
Thanks,
>
>
> regards
> Robin