File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,22 @@ To produce:
351
351
</Projects >
352
352
```
353
353
354
+ ### Configuring advanced features
355
+
356
+ When creating or parsing a document you can enable and disable advanced
357
+ features by using the more explicit versions of the ` parse() ` and ` create() `
358
+ constructors.
359
+
360
+ You can:
361
+
362
+ * use the ` enableExternalEntities ` flag to enable or disable external entities.
363
+ NOTE: you should leave these disabled, as they are by default, unless you
364
+ really need them because they open you to XML External Entity (XXE) injection
365
+ attacks.
366
+ * use the ` isNamespaceAware ` flag to enable or disable namespace awareness in
367
+ the underlying ` DocumentBuilderFactory ` .
368
+
369
+
354
370
Release History
355
371
---------------
356
372
You can’t perform that action at this time.
0 commit comments