forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 20481 - xml/forrest/trunk/src/documentation/content/xdocs
Date Wed, 26 May 2004 14:55:07 GMT
Author: crossley
Date: Wed May 26 07:55:06 2004
New Revision: 20481

Modified:
   xml/forrest/trunk/src/documentation/content/xdocs/catalog.xml
Log:
Merge some notes from validation.xml


Modified: xml/forrest/trunk/src/documentation/content/xdocs/catalog.xml
==============================================================================
--- xml/forrest/trunk/src/documentation/content/xdocs/catalog.xml	(original)
+++ xml/forrest/trunk/src/documentation/content/xdocs/catalog.xml	Wed May 26 07:55:06 2004
@@ -101,11 +101,25 @@
         <title>xmllint validating parser</title>
         <p>
           "xmllint" is part of the "libxml2" package.
+          It is very fast and powerful, with are many facilities. It can
+          validate whole directories of files at once.
           Set the SGML_CATALOG_FILES environment variable.
         </p>
         <source>
-export SGML_CATALOG_FILES=$FORREST/src/core/context/resources/schema/catalog
+export SGML_CATALOG_FILES=$SGML_CATALOG_FILES:\
+$FORREST/src/core/context/resources/schema/catalog
 xmllint --valid --catalogs --noout mydoc.xml
+        </source>
+      </section>
+
+      <section id="vim">
+        <title>Vim</title>
+          <p>
+            The following .vimrc entries are useful:
+          </p>
+        <source>
+au FileType xml set efm=%A%f:%l:\ %.%#error:\ %m,%-Z%p^,%-C%.%#
+au FileType xml set makeprg=xmllint\ --noout\ --valid\ --catalogs\ %
         </source>
       </section>
 

Mime
View raw message