---
title: shouldResolveExternalEntities
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/xmlparser/shouldresolveexternalentities
---

# shouldResolveExternalEntities

A Boolean value that determines whether the parser reports declarations of external entities.

## Declaration

```swift
var shouldResolveExternalEntities: Bool { get set }
```

## Discussion

Discussion true if the parser reports declarations of external entities, false otherwise. The default value is false. If you set this property to true, you may cause other I/O operations, either network-based or disk-based, to load the external DTD. The parser reports declarations of external entities with the delegate method parser(_:foundExternalEntityDeclarationWithName:publicID:systemID:).

## See Also

### Managing Parser Behavior

- [shouldProcessNamespaces](foundation/xmlparser/shouldprocessnamespaces.md)
- [shouldReportNamespacePrefixes](foundation/xmlparser/shouldreportnamespaceprefixes.md)
