-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


zac spitzer schrieb:
> Frank Gerhardt - don't send personal email to this address wrote:
>
>> My form contains an input field:
>> <input jwcid="usernameTextField" size="12"/>
>>
>> Composer removes the slash at the end of the tag.
>>
>> <input jwcid="usernameTextField" size="12">
>>
>> Then it's not valid HTML any more. I would have to add an explicit
>> closing tag
>> like </input>. Composer removes that too. Of course today's browsers
>> handle that
>> nicely but for processing the HTML I need well-formed HTML. Any idea
>> how to
>> switch of this feature?
>>
>> Frank.
>>
> that's XHTML not html, is your doc type correct?

I didn't think much about the doctype. It could be anything that doesn't create
problems in today's browsers. My problem occured when I tried to use an XML
parser on the edited file. Because I wrote /> at the end of the tag I expected
Composer to leave this unchanged. The parser requires this. I know web browsers
don't.

Does this mean that /> at the end of the tag isn't valid HTML?

Frank.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org

iD8DBQE9nXKH9i+Nt+YA+UsRAlHbAJ9hKJe+93rR5G5cwjoJwHOx3E8qzQCdG+sG
S6ccrcjQRJ12uuRppfuAieA=
=BnrG
-----END PGP SIGNATURE-----


Reply via email to