forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: FAQ DTD changes #2
Date Wed, 07 May 2003 10:08:15 GMT
On Tue, May 06, 2003 at 11:34:34PM +0200, J.Pietschmann wrote:
> Jeff Turner wrote:
> >>Mixed text works best when it is used for, well, mixed text.
> ...
> >Btw, the doc-v12 DTD (and XHTML) both have a
> >'flow' data type which mixes block-level and inline elements ('flow' is
> >used in li, dd, etc).
> 
> That's not really critical, usually. It's still all content.
> You were mixing text content and a sort of out-of band data.

What is out-of-band about <elaboration> in the FAQ?

> This *is* critical.
> 
> Note that a DTD would have a content model of
>  <!ELEMENT question (#PCDATA|elaboration)*>
> which would also validate
>  <question>
>    Bla bla bla
>    <elaboration>stuff</elaboration>
>    more bla bla bla
>    <elaboration>more stuff</elaboration>
>    even more bla bla bla
>  </question>
> Ouch!

That's a feature not a bug ;P 

<question>
  I am trying to run Forrest 
  <elaboration>v0.4 on a W2K box running JDK 1.3.1</elaboration>
  and keep getting a NullPointerException on startup.
  <elaboration>The stacktrace I get is:
    <pre>
    ....
    </pre>
  </elaboration>
  What am I doing wrong?
</question>


> >Extra metadata for FAQs would be great.
> 
> Oh, certainly. The problem with most metadata is that it tends to
> fall into disuse unless automatically managed.

Optional metadata of course. If metadata has some obvious benefit, people
will use it.

> >We can do this in faq-v20 with a <meta name="..."> ... </meta> tag
> >allowed inside <faq>. 
> 
> *Cough*! Do you want people asking why the encoding they
> added to a FAQ "doesn't work"?

Character encoding?  Unsupported tags inside <meta>?

--Jeff

> J.Pietschmann
> 

Mime
View raw message