Author: scheu
Date: Wed Oct 24 08:25:35 2007
New Revision: 587907

URL: http://svn.apache.org/viewvc?rev=587907&view=rev
Log:
WSCOMMONS-266
Contributor:Brian Murphy
Change to the pom to explicitly specify the TransformerFactory via a System 
Property.
This is necessary because the default TransformerFactory changes depending on 
the version
of the JDK and JDK vendor.  This change helps stablize the tests and provides 
guidance
for real world users who run into similar issues.

Modified:
    webservices/commons/trunk/modules/XmlSchema/pom.xml

Modified: webservices/commons/trunk/modules/XmlSchema/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/pom.xml?rev=587907&r1=587906&r2=587907&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/pom.xml (original)
+++ webservices/commons/trunk/modules/XmlSchema/pom.xml Wed Oct 24 08:25:35 2007
@@ -285,6 +285,18 @@
                     <excludes>
                         <exclude>tests/w3c/SchemaTest.java</exclude>
                     </excludes>
+                    <systemProperties>
+                        <!--  The default xalan TransformerFactory on the ibm 
jdk is
+                              
org.apache.xalan.processor.TransformerFactoryImpl which 
+                              has a known issue with implicit namespaces.  Set 
this 
+                              property to use the xsltc TransformerFactory 
(which 
+                              the sun jdk seems to default to).
+                        -->
+                        <property>
+                            <name>javax.xml.transform.TransformerFactory</name>
+                            
<value>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</value>
+                        </property>
+                    </systemProperties>
                 </configuration>
             </plugin>
             <plugin>



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

Reply via email to