forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Noels" <stev...@outerthought.org>
Subject RE: [DTD patch] blocks in table cells
Date Wed, 27 Feb 2002 20:21:46 GMT
If they want so, they can have it (but I'm no big fan of nested tables
in XML docs, especially since they are most often only used to mimic bad
HTML layout practice, using (nested) tables for layout purposes).

+0

But Sam sure knows all about that ;-)

</Steven>

ps: Stefano, are you sure you are diff'ing against the correct DTD? I
see document-v10.dtd being mentioned. Remember DTD's in
src\documentation\xdocs\dtd are there only because of the Centipede
import, we should upgrade or replace these with our own 1.1 version,
located in src\resources\schemas

> -----Original Message-----
> From: Stefano Mazzocchi [mailto:stefano@apache.org]
> Sent: woensdag 27 februari 2002 13:50
> To: Apache Forrest
> Subject: [DTD patch] blocks in table cells
>
>
> The POI project needed to have blocks in table cells and
> lists (&blocks;
> include tables, so this provides nested tables)
>
> --- document-v10.dtd    31 Jan 2002 02:23:39 -0000      1.1.1.1
> +++ document-v10.dtd    27 Feb 2002 06:15:54 -0000
> @@ -405,12 +405,12 @@
>          <!ATTLIST tr %common.att;>
>
>              <!-- The table row header element -->
> -            <!ELEMENT th (%content.mix;)*>
> +            <!ELEMENT th (%blocks;|%content.mix;)*>
>              <!ATTLIST th %common.att;
>                           %cell.span;>
>
>              <!-- The table row description element -->
> -            <!ELEMENT td (%content.mix;)*>
> +            <!ELEMENT td (%blocks;|%content.mix;)*>
>              <!ATTLIST td %common.att;
>                           %cell.span;>
>
> @@ -443,7 +443,7 @@
>      <!ATTLIST sl %common.att;>
>
>          <!-- List item -->
> -        <!ELEMENT li (%content.mix;|%lists;)*>
> +        <!ELEMENT li (%blocks;|%content.mix;)*>
>          <!ATTLIST li %common.att;>
>
>      <!-- Definition list (typically two-column) -->
> @@ -455,7 +455,7 @@
>          <!ATTLIST dt %common.att;>
>
>          <!-- Definition description -->
> -        <!ELEMENT dd (%content.mix;)*>
> +        <!ELEMENT dd (%blocks;|%content.mix;)*>
>          <!ATTLIST dd %common.att;>
>
>
> What do you think of this?
>
> --
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <stefano@apache.org>                             Friedrich Nietzsche
> --------------------------------------------------------------------
>


Mime
View raw message