You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/10/09 13:58:21 UTC

svn commit: r703145 - /maven/doxia/site/src/site/fml/faq.fml

Author: vsiveton
Date: Thu Oct  9 04:58:21 2008
New Revision: 703145

URL: http://svn.apache.org/viewvc?rev=703145&view=rev
Log:
DOXIA-123: Create an xdoc DTD or XSD for maven 2

o added a faq

Modified:
    maven/doxia/site/src/site/fml/faq.fml

Modified: maven/doxia/site/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/doxia/site/src/site/fml/faq.fml?rev=703145&r1=703144&r2=703145&view=diff
==============================================================================
--- maven/doxia/site/src/site/fml/faq.fml (original)
+++ maven/doxia/site/src/site/fml/faq.fml Thu Oct  9 04:58:21 2008
@@ -73,5 +73,31 @@
         </p>
       </answer>
     </faq>
+    <!-- TODO need to publish XSD files -->
+    <faq id="doxia-xsd">
+      <question>Where are the Maven Doxia XSD schemas for Xdoc and FML files?</question>
+      <answer>
+        <p>
+          The Xdoc XSD is located <a href="http://maven.apache.org/xsd/xdoc-2.0.xsd">here</a> and
+          the FML XSD is located <a href="http://maven.apache.org/xsd/fml-1.0.xsd">here</a>.
+        </p>
+        <p>
+          Your favorite IDE probably supports XSD schema's for Xdoc and FML files. You need to
+          specify the following:
+        <source>
+&lt;document xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"&gt;
+  ...
+&lt;/document&gt;</source>
+        <source>
+&lt;faqs xmlns="http://maven.apache.org/FML/1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/FML/1.0 http://maven.apache.org/xsd/fml-1.0.xsd"&gt;
+  ...
+&lt;/faqs&gt;</source>
+        </p>
+      </answer>
+    </faq>
   </part>
 </faqs>
\ No newline at end of file