Selecting a XML parser

From Resin 3.0

Revision as of 05:21, 27 January 2010 by Alex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


<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