Contents

nodeLoadExternalEntitiesAlways

Requests that external entities are always loaded.

Declaration

static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }

Discussion

Requests that external entities are always loaded. You may choose only one of nodeLoadExternalEntitiesAlways, nodeLoadExternalEntitiesSameOriginOnly, or nodeLoadExternalEntitiesNever or none.

Choosing none results in the system-default behavior. For applications linked on OS X v10.6 and earlier, this is NSXMLNodeLoadExternalEntitiesAlways. For applications linked on macOS 10.7 or later, all entities that don’t require network access are loaded.

If an external entity fails to load, the document is invalid and the parse is aborted with an error.

See Also

Constants