Selecting a XML parser

From Resin 3.0

(Redirected from Selecting XML Parsers)
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