dion        2003/08/10 20:24:39

  Modified:    xdocs    Tag: MAVEN_RC1_STABLE faq.fml
  Log:
  Add faq from the wiki re: xalan etc
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.2   +28 -0     maven/xdocs/faq.fml
  
  Index: faq.fml
  ===================================================================
  RCS file: /home/cvs/maven/xdocs/faq.fml,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- faq.fml   7 Aug 2003 16:52:38 -0000       1.2.2.1
  +++ faq.fml   11 Aug 2003 03:24:38 -0000      1.2.2.2
  @@ -200,6 +200,34 @@
           </source>
         </answer>
       </faq>
  +    
  +    <faq id="BadXSLT">
  +      <question>How do I get the XSLT tasks to work?</question>
  +      <answer>
  +        <p>
  +          A common symptom is that the Jelly or Ant tag are output instead of being 
processed.
  +          See <a 
href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-156";>MAVEN-156</a>.
  +        </p>
  +        <p>
  +          The solution is to add the JAXP system property via the Jelly script.
  +        </p>
  +        <source><![CDATA[
  
+${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
 
  +<ant:style in="${basedir}/some.xml" out="${maven.build.dest}/other.xml" 
style="${basedir}/sheet.xsl" processor="trax"/> 
  +]]></source>
  +        <p>
  +          Also make sure that Xalan is declared as dependencies in your project 
file:
  +        </p>
  +        <source><![CDATA[
  +    <dependency> 
  +      <groupId>xalan</groupId> 
  +      <artifactId>xalan</artifactId> 
  +      <version>2.3.1</version> 
  +      <url>http://xml.apache.org/xalan/</url> 
  +    </dependency> 
  +]]></source>
  +      </answer>
  +    </faq>
     </part>
   
     <part id="building">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to