---
title: validateDocument
framework: Core Foundation
role: symbol
role_heading: Type Property
path: corefoundation/cfxmlparseroptions/validatedocument
---

# validateDocument

Validates the document against its grammar from the DTD, reporting any errors. Currently not supported.

## Declaration

```swift
static var validateDocument: CFXMLParserOptions { get }
```

## See Also

### Constants

- [skipMetaData](corefoundation/cfxmlparseroptions/skipmetadata.md)
- [replacePhysicalEntities](corefoundation/cfxmlparseroptions/replacephysicalentities.md)
- [skipWhitespace](corefoundation/cfxmlparseroptions/skipwhitespace.md)
- [resolveExternalEntities](corefoundation/cfxmlparseroptions/resolveexternalentities.md)
- [addImpliedAttributes](corefoundation/cfxmlparseroptions/addimpliedattributes.md)
- [allOptions](corefoundation/cfxmlparseroptions/alloptions.md)
