Selecting a XML parser

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
 
                   "org.apache.xalan.processor.TransformerFactoryImpl"/>
 
                   "org.apache.xalan.processor.TransformerFactoryImpl"/>
  
    <!-- stax -->
+
== Selecting STAX output factory ==
 +
  <resin ...>
 
     <system-property javax.xml.stream.XMLOutputFactory =
 
     <system-property javax.xml.stream.XMLOutputFactory =
 
                 "com.sun.xml.internal.stream.XMLOutputFactoryImpl"/>
 
                 "com.sun.xml.internal.stream.XMLOutputFactoryImpl"/>

Revision as of 18:12, 26 January 2010


<resin ...>
    <system-property javax.xml.parsers.DocumentBuilderFactory=
                 "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
    <system-property javax.xml.parsers.SAXParserFactory=
                 "org.apache.xerces.jaxp.SAXParserFactoryImpl"/>

    <system-property javax.xml.transform.TransformerFactory=
                 "org.apache.xalan.processor.TransformerFactoryImpl"/>

Selecting STAX output factory

 <resin ...>
    <system-property javax.xml.stream.XMLOutputFactory =
                "com.sun.xml.internal.stream.XMLOutputFactoryImpl"/>
Personal tools