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 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
... ... @@ -124,9 +124,6 @@
124 124  = Anti XEE =
125 125  
126 126  DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
127 -builderFactory.setExpandEntityReferences(false); <<<<==[Here]==<<<<
127 +builderFactory.setExpandEntityReferences(false); <<<<---[Here]-<<<<
128 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.
129 +DOMSource xmlSource = new DOMSource(builder.parse(new ByteArrayInputStream(myXmlString.getBytes(~)~)~));--