Selecting a XML parser

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(Selecting STAX output factory)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
     <system-property javax.xml.transform.TransformerFactory=
 
     <system-property javax.xml.transform.TransformerFactory=
 
                   "org.apache.xalan.processor.TransformerFactoryImpl"/>
 
                   "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"/>

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"/>

[edit] 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