Changes for page Engine_XalanJ

Last modified by Nicolas Gregoire on 2012/01/31 17:35

From version Icon 80.1
edited by Nicolas Gregoire
on 2012/01/31 17:35
Change comment: There is no comment for this version
To version Icon 76.1 Icon
edited by Nicolas Gregoire
on 2012/01/17 12:02
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -120,13 +120,3 @@
120 120  Username : [root] / Password : [uberpasswd] :
121 121  Username : [root] / Password : [cnam] : OK !!
122 122  Username : [pma] / Password : [pma] : ##
123 -
124 -= Anti XEE =
125 -
126 -DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
127 -builderFactory.setExpandEntityReferences(false); <<<<==[Here]==<<<<
128 -DocumentBuilder builder = builderFactory.newDocumentBuilder();
129 -DOMSource xmlSource = new DOMSource(builder.parse(new ByteArrayInputStream(myXmlString.getBytes(~)~)~));
130 -
131 -
132 -By default (cf. Xalan-j [[documentation>>http://xml.apache.org/xalan-j/apidocs/javax/xml/parsers/DocumentBuilderFactory.html#setExpandEntityReferences(boolean)]]), this value is set to True.