This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] #PCDATA in caption?


On Thu, Nov 20, 2003 at 10:59:29AM +0100, Joachim Ziegler wrote:
> I don't know whether the content model for caption was changed in 4.3 
> (which I use) or if my xmllint (using libxml version 20430) is buggy, 
> but the following, which I did by mistake, is parsed as valid:
> 
> 
>      <caption><simpara>Ein ungerichteter Graph mit der Knotenmenge
>      V={0,1,2,3,4,5,6} und der Kantenmenge
>      {{0,1},{0,3},{1,2},{2,3},{4,5},{4,6}}</simpara>
>      0 und sind adjazent zueinander.</caption>

Yes, it is valid in 4.3.
#PCDATA was added to the content model of
caption in 4.3.  That was because caption is now
also part of the HTML table elements added in 4.3,
and captions in HTML tables permit plain text.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]