Selecting a XML parser

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(Selecting STAX output factory)
 
(One intermediate revision by one user not shown)
Line 12: Line 12:
 
                   "org.apache.xalan.processor.TransformerFactoryImpl"/>
 
                   "org.apache.xalan.processor.TransformerFactoryImpl"/>
  
    <!-- stax -->
+
== Selecting STAX output and input 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"/>
 +
 
 +
    <system-property javax.xml.stream.XMLInputFactory =
 +
                                    "com.sun.xml.internal.stream.XMLOutputFactoryImpl"/>

Latest revision as of 05:21, 27 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 and input factory

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