apply a couple of patches from Christian Cornelssen fixing the man pages

* libxml.3 doc/buildDocBookCatalog: apply a couple of patches
  from Christian Cornelssen fixing the man pages and the Catalog
  building script.
* xmlschemas.c include/libxml/schemasInternals.h: nothing new yet
  next step is <xs:import> I now have a reasonable understanding
  of how it works.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 977b251..c789338 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Sat May 18 09:54:12 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+	* libxml.3 doc/buildDocBookCatalog: apply a couple of patches
+	  from Christian Cornelssen fixing the man pages and the Catalog
+	  building script.
+	* xmlschemas.c include/libxml/schemasInternals.h: nothing new yet
+	  next step is <xs:import> I now have a reasonable understanding
+	  of how it works.
+
 Thu May 16 10:43:26 CEST 2002 Daniel Veillard <daniel@veillard.com>
 
 	* xmlIO.c: applied a small buffer performance patch from Gary Pennington
diff --git a/doc/buildDocBookCatalog b/doc/buildDocBookCatalog
index 513796a..bf51ace 100755
--- a/doc/buildDocBookCatalog
+++ b/doc/buildDocBookCatalog
@@ -5,7 +5,7 @@
     mkdir /etc/xml
     chmod 755 /etc/xml
 fi
-if [ -w /etc/xml/catalog -a -w /etc/xml ]
+if [ -w /etc/xml/catalog ] || [ -w /etc/xml -a ! -e /etc/xml/catalog ]
 then
     ROOTCATALOG=/etc/xml/catalog
     CATALOG=/etc/xml/docbook
diff --git a/include/libxml/schemasInternals.h b/include/libxml/schemasInternals.h
index bb8c9a4..b8d850b 100644
--- a/include/libxml/schemasInternals.h
+++ b/include/libxml/schemasInternals.h
@@ -264,6 +264,8 @@
     xmlHashTablePtr attrgrpDecl;
     xmlHashTablePtr elemDecl;
     xmlHashTablePtr notaDecl;
+
+    xmlHashTablePtr schemasImports;
 };
 
 void	xmlSchemaFreeType	(xmlSchemaTypePtr type);
diff --git a/libxml.3 b/libxml.3
index 62d9c7d..18a743a 100644
--- a/libxml.3
+++ b/libxml.3
@@ -1,4 +1,4 @@
-.TH libxml 4 "12 April 2000"
+.TH libxml 3 "12 April 2000"
 .SH NAME
 libxml \- library used to parse XML files
 .SH DESCRIPTION
@@ -65,7 +65,7 @@
 U.S. National Library of Medicine.
 .SH SEE ALSO
 .IR xmllint (1),
-.IR libxslt (4),
-.IR libexslt (4),
+.IR libxslt (3),
+.IR libexslt (3),
 .IR xsltproc (1)
 .\" end of manual page
diff --git a/xmlschemas.c b/xmlschemas.c
index 38b92d3..d8a0225 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -2791,6 +2791,7 @@
 	    } else if (IS_SCHEMA(child, "include")) {
 		TODO
 	    } else if (IS_SCHEMA(child, "import")) {
+		/* xmlSchemaParseImport(ctxt, schema, child);*/
 		TODO
 	    } else if (IS_SCHEMA(child, "redefine")) {
 		TODO