Hi Steve,
I have putted the whole legalnotice part into an own xml file. So there
is just the legalnotice. In my main article document i'm using xinclude
to place it like:
<article>
<info>
<authorgroup>
<legalnotice>
</info>
content
</article>
A similar error message comes with DB 4.5 documents without a correct
<!DOCTYPE> Definition. The error goes away if i paste <!DOCTYPE
legalnotice PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
But such isn't used with DB5 documents.
Greetings
Sascha
-------- Original-Nachricht --------
*Betreff: *Re: [docbook] DocBook 5 and Chunked Content
*Von: *Steve Cuzner <steve.cuz...@mathworks.com>
*An: *Sascha Manns <sascha.ma...@xcom.de>, docbook@lists.oasis-open.org
<docbook@lists.oasis-open.org>
*Datum: *04.02.2015 14:51
The error message is complaining about the legalnotice not being
allowed where it is, not about the para content of legalnotice, so
your code snip doesn’t help much. What is the parent element of
legalnotice?
*From:*Sascha Manns [mailto:sascha.ma...@xcom.de]
*Sent:* Wednesday, February 04, 2015 6:03 AM
*To:* docbook@lists.oasis-open.org
*Subject:* [docbook] DocBook 5 and Chunked Content
Hello List,
actually i'm working on upgrading some documents from DB4.5 to DB5.
The Documents are chunked. As example i have one file which contains
our Legalnotice:
<legalnotice xmlns="http://docbook.org/ns/docbook"
<http://docbook.org/ns/docbook> version="5.0">
<para>My content</para>
</legalnotice>
But my Validator says:
element "legalnotice" not allowed here; expected element
"acknowledgements", "appendix", "article", "bibliography", "book",
"chapter", "colophon", "dedication", "glossary", "index",
"ns:include", "para", "part", "preface", "refentry", "reference",
"refsect1", "refsect2", "refsect3", "refsection", "sect1", "sect2",
"sect3", "sect4", "sect5", "section", "set", "setindex" or "toc" (with
xmlns:ns="http://www.w3.org/2001/XInclude"
<http://www.w3.org/2001/XInclude>)
Is there any possibility to pacify the Validator?
Greetings
Sascha
--
Yours sincerly
Sascha Manns
---------------------------------
XCOM AG
Qualitätsmanagement Banksystem Backend
Rechnungswesen, Meldewesen, Steuern
Rennweg 60
Haus 2
56626 Andernach
Telefon +49 2632 9899-158
Telefax +49 2632 9899-010
sascha.ma...@xcom.de <mailto:sascha.ma...@xcom.de>
http://www.xcom.de
*** XCOM AG Legal Disclaimer ***
Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine Nachricht zukommen zu lassen.
This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900,www.xcom.de
<http://www.xcom.de>
Handelsregister: Amtsgericht Krefeld, HRB 10340
Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
Vorsitzender des Aufsichtsrates: Stefan H. Tarach
--
Yours sincerly
Sascha Manns
---------------------------------
XCOM AG
Qualitätsmanagement Banksystem Backend
Rechnungswesen, Meldewesen, Steuern
Rennweg 60
Haus 2
56626 Andernach
Telefon +49 2632 9899-158
Telefax +49 2632 9899-010
sascha.ma...@xcom.de
http://www.xcom.de
*** XCOM AG Legal Disclaimer ***
Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein für
den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen,
Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine
fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine
Nachricht zukommen zu lassen.
This email may contain material that is confidential and for the sole use of
the intended recipient. Any review, distribution by others or forwarding
without express permission is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900, www.xcom.de
Handelsregister: Amtsgericht Krefeld, HRB 10340
Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
Vorsitzender des Aufsichtsrates: Stefan H. Tarach