OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] DB 5 -- Element "example" not allowed inside element "article" ?


Anagha,

The most likely possibility is that you've got <example>
either before the <title> or <info> elements, or after
one of the "section" elements (<section>, <sect1>, etc.)

For example,

<article ...>
  <title>the title</title>
  <example>....</example>
  <section>......</section>
</article>

would be ok, but:

<article ...>
  <title>the title</title>
  <section>......</section>
  <example>....</example>
</article>

is invalid.

If that's not the problem, then if you could post the
shortest example you have that fails, that would help
diagnose the problem.

Dick Hamilton
rlhamilton@frii.com

> -----Original Message-----
> From: Anagha Tongaonkar [mailto:anagha@3dgeo.com] 
> Sent: Thursday, March 06, 2008 4:35 PM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] DB 5 -- Element "example" not allowed 
> inside element "article" ?
> 
> 
> Hi All,
> 
> I am trying to insert an element "example" inside "article"; 
> however, I 
> get the following error message in the XML editor (I am using 
> oXygen XML 
> editor):
> element "example" from namespace "http://docbook.org/ns/docbook"; not 
> allowed in this context
> 
> However, per information on:
> http://www.oasis-open.org/docbook/documentation/reference/html
> /example.html
> 
> I see "example" has a parent "article"
> 
> Please advise.
> 
> Thank you,
> Anagha
> PS: I am using DocBook 5, the article element appears as: <article 
> xmlns="http://docbook.org/ns/docbook"; version="5.0"> in my xml file.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]