
Hi, I'm new to oXygen and this list so appologies if I break etiquette. I'm having some problems with validating docbook with XIncludes. If I validate my book I receive four errors: E|An element with the identifier "maintenance" must appear in the document.|cu_article_introduction.xml| E|An element with the identifier "figure.architecture" must appear in the document.|cu_article_maintenance.xml| E|An element with the identifier "figure.architecture" must appear in the document.|cu_article_using.xml| E|An element with the identifier "pkg.course_search_pkg" must appear in the document.|cu_article_rendering.xml| Within the file cu_article_maintenance.xml is the element <article id="maintenance">...</article> Within the file cu_article_introduction.xml is the element <figure id="figure.architecture">...</figure> Within the file cu_article_server_utilities.xml is the element <sect2 id="pkg.course_search_pkg">...</sect2> Once validation has completed I restart it without making any changes and I receive four validation errors - all of the same type - but some are different: E|An element with the identifier "using" must appear in the document.|cu_article_introduction.xml| E|An element with the identifier "figure.architecture" must appear in the document.|cu_article_maintenance.xml| E|An element with the identifier "figure.architecture" must appear in the document.|cu_article_using.xml| E|An element with the identifier "proc.display_unit_list_param" must appear in the document.|cu_article_rendering.xml| Within the file cu_article_using.xml is the element <article id="using">...</article> Within the file cu_article_introduction.xml is the element <figure id="figure.architecture">...</figure> Within the file cu_article_server_utilities.xml is the element <sect2 id="proc.display_unit_public_list_param">...</sect2> All elements that point to "maintenance" are <xref> All elements that point to "using" are <xref> All elements that point to "figure.architecture" are <xref> All elements that point to "proc.display_unit_public_list_param" are <link> All elements that point to "pkg.course_search_pkg" are <link> My entire book is: ====================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd" [ <!ENTITY % xinclude SYSTEM "xinclude.mod"> %xinclude; ]> <book> <bookinfo> <title>Course and Unit System Guide</title> <corpauthor>Geoff Purchase </corpauthor> </bookinfo> <xi:include href="cu_article_introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_maintenance.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_using.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_client.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_transformations.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_rendering.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_requests.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_troubleshooting.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="cu_article_server_utilities.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </book> ======================================================== Within cu_article_introduction.xml is this snippet: ========================================================== <figure id="figure.architecture"> <title>Course and Unit Architecture</title> <mediaobject> <imageobject> <imagedata fileref="tiers.png" format="PNG" /> </imageobject> </mediaobject> </figure> <sect2> <title>Tier 1 - Maintain and Manage Course and Unit</title> <para><xref linkend="figure.architecture" /> displays the three tiers of the Course and Unit system. Tier 1 covers all areas involved with maintaining and managing the Course and Unit database. For more information about maintaining and managing Course and Unit, refer to <xref linkend="maintenance" />.</para> </sect2> ================================================================
From the oXygen Help|About: oXygen 5.1
Apache Xerces-J 2.6.2 Apache Xalan Java 2.5.1 SAXON_6 6.5.3 SAXON_8B 8.1.1 Apache FOP 0.20.5 Jing 20030619 Trang 20030619 Apache NekoHTML 0.9.4 OASIS DocBook XML DTD 4.3 DocBook XSL 1.67.2 TEI DTD P4 TEI XSL 2.1 I successfully transformed this book yesterday, and while I have made modifications to cu_article_introduction.xml, cu_article_maintenance.xml, and cu_article_using.xml since then, I have made no changes to cu_article_rendering.xml or cu_article_server_utilities.xml. I don't know if these problems are docbook or oxygen related, but I can't see any problems with the xml (a full one-month's experience). Any help coming my way is gratefully acepted. Thanks, Geoff ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/