[dokuwiki] Re: AW: Re: handling large tables

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

Chris Smith schrieb am 17.10.2006 15:38:
> Werner Flamme wrote:
>> When writing, I looked at the samples on
>> http://www.mediawiki.org/wiki/Help:Tables and they all worked and showed up
>> as valid XHTML :-) - though Validome and W3c complain that <table> is not
>> allowed at this part of text ("document type does not allow element "table"
>> here; missing one of "object", "applet", "map", "iframe", "button", "ins",
>> "del" start-tag."). I do not see the reason for this complaint :-(
>>
>> Maybe you have a look at the code and find the error at one?
>>   
> 
> Hi Werner,
> 
> I haven't looked at your plugin, but that error looks very like the 
> <table> element is being placed within a <p> element[1], which implies 
> to me that you are using a pType of "normal".  Change that to "block" 
> and it should go away.
> 
> Cheers,
> 
> Chris
> 
> [1] <p> elements may only contain elements which are naturally inline  
> (ie. default to display:inline), not elements of other types, e.g, 
> block, table, etc.

Chris,

thanks a lot, you found it - even without looking at my code. You must be a
magician at last...

I had a function getType(), but I totally forgot about getPType() :-( Thank
you for putting me on the right track, I'm back with valid XHTML pages again.

Cheers
Werner

- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme@xxxxxx




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFNOTGk33Krq8b42MRAq9SAJ45B7yZqcEJDxwdpFPCSWIPnvExcgCeMOmZ
LcqJe0pEy1RQULnR5j8pLK0=
=AK1U
-----END PGP SIGNATURE-----
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: