RE: [docbook-apps] para-section-para

From
Dick Hamilton <>
Date
2010-03-25T18:12:46+00:00
ID
B422634E9B1748F7A8F693F9466C3DE0@MILES
Thread
RE: [docbook-apps] para-section-para
Title: Message

According to 
the schema, you can have a para before the first section, but once you start 
using sections, you cannot have a para outside of some other structure (section, 
etc.).

 

I believe 
that is intentional and has been that way for a while.

 

Best 
Regards,

Dick 
Hamilton

---------------------------------
XML Press
XML for Technical 
Communicators
http://xmlpress.net
(970) 
231-3624

  

  
-----Original Message-----
From: PC Thoms 
  [mailto:] 
Sent: Thursday, March 25, 2010 10:40 
  AM
To: 
Subject: 
  [docbook-apps] para-section-para

While preparing an 
  article in the following format I receive a not allowed instruction.
  
Editor: Oxygen 10.3

  

  

  
<article xmlns="http://docbook.org/ns/docbook"

  
    xmlns:xlink="http://www.w3.org/1999/xlink" 
  version="5.0">

  
  <section>

  
    <para>text</para>

  
    <section>

  
      <para>text</para>

  
    </section>

  
  <para>text</para> (This paragraph 
  shows as not allowed. Why?)

  
  </section>

  
</article>

  

  
Exports to the browser fine.

  
Must I follow a <section> with a <section>, that works, but 
  this would break up the flow of the document, which is an old report.

  
Or is this a bug?