Problems validating kquickguide

Bhuvaneswaran bhuvaneswaran at gmail.com
Sat Nov 5 03:56:54 UTC 2005


> Yes, I can confirm that doing this workaround (commenting out the
> doctype in ccbysa.xml) breaks validation of other docs (for example the
> gnome/desktopguide) because the entities in the ccbysa.xml are therefore
> no longer defined.

Yes, you are correct.

> So what is the solution here? We need to figure out a way to ensure that
> the kquickguide and kuserguide validate properly. Perhaps the answer

Seems, Robert Stoffers have addressed these issues ?
I also found the problem exists in following documents:

edubuntu/EdubuntuCookbook/C/edubuntu-cookbook.xml
ubuntu/serverguide/C/serverguide.xml
ubuntu/desktopguide/C/desktopguide.xml
kubuntu/kfaqguide/C/faqguide.xml
ubuntu/adminguide/C/adminguide.xml

To address the issues, i've modified the following documents:

commons/C/ccbysa.xml
edubuntu/EdubuntuCookbook/C/edubuntu-cookbook.xml
ubuntu/serverguide/C/serverguide.xml
ubuntu/desktopguide/C/desktopguide.xml
kubuntu/kfaqguide/C/faqguide.xml
ubuntu/adminguide/C/adminguide.xml

I'm forwarding the patch. I request you to verify and apply, thankx.
--
Regards,
Bhuvaneswaran
www.symonds.net/~bhuvan/
-------------- next part --------------
Index: common/C/ccbysa.xml
===================================================================
--- common/C/ccbysa.xml	(revision 2015)
+++ common/C/ccbysa.xml	(working copy)
@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
 	      "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
-	      <!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
-	      %xinclude;
 	      <!ENTITY % globalent SYSTEM "../../libs/global.ent">
 	      %globalent;
 ]>
Index: edubuntu/EdubuntuCookbook/C/edubuntu-cookbook.xml
===================================================================
--- edubuntu/EdubuntuCookbook/C/edubuntu-cookbook.xml	(revision 2014)
+++ edubuntu/EdubuntuCookbook/C/edubuntu-cookbook.xml	(working copy)
@@ -108,4 +108,6 @@
     &APPENDICES;
     <!-- &cc-by-sa; -->
     <!-- &fdl; -->
+	<xi:include href="../../../common/C/ccbysa.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+	<xi:include href="../../../common/C/fdl.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
     </book>
Index: ubuntu/adminguide/C/adminguide.xml
===================================================================
--- ubuntu/adminguide/C/adminguide.xml	(revision 2014)
+++ ubuntu/adminguide/C/adminguide.xml	(working copy)
@@ -621,7 +621,9 @@
             <title>Administering TCP/IP Networks</title>
             <para>Text</para>
         </chapter>
-    </part> &cc-by-sa; &fdl;
+	<xi:include href="../../../common/C/ccbysa.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+	<xi:include href="../../../common/C/fdl.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+    </part> <!--&cc-by-sa; &fdl;-->
     <!--
     ===================================
         Bibliography
Index: kubuntu/kfaqguide/C/faqguide.xml
===================================================================
--- kubuntu/kfaqguide/C/faqguide.xml	(revision 2014)
+++ kubuntu/kfaqguide/C/faqguide.xml	(working copy)
@@ -5,9 +5,9 @@
 %globalent;
 <!ENTITY % cdo-C SYSTEM "../../../libs/cdo-C.ent">
 %cdo-C;
-<!ENTITY % gnome-menus-C SYSTEM "../../../gnome/libs/gnome-menus-C.ent">
+<!ENTITY % gnome-menus-C SYSTEM "../../../ubuntu/libs/gnome-menus-C.ent">
 %gnome-menus-C;
-<!ENTITY % kde-menus-C SYSTEM "../../../kde/libs/kde-menus-C.ent">
+<!ENTITY % kde-menus-C SYSTEM "../../../kubuntu/libs/kde-menus-C.ent">
 %kde-menus-C;
 <!ENTITY language "&EnglishAmerican;">
 <!ENTITY ubuntu '<phrase os="gnome">Ubuntu</phrase>'>
@@ -2295,6 +2295,6 @@
 	&tips-and-tricks;
 	&troubleshooting;
 	&upgrading-ubuntu;
-	&cc-by-sa;
-	&fdl;
+  <xi:include href="../../../common/C/ccbysa.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+  <xi:include href="../../../common/C/fdl.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 </book>



More information about the ubuntu-doc mailing list