Changes for page Engine_XalanJ

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

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

Summary

Details

Icon Page properties
Content
... ... @@ -120,3 +120,10 @@
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(~)~)~));--