Contents

shouldReportNamespacePrefixes

A Boolean value that determines whether the parser reports the prefixes indicating the scope of namespace declarations.

Declaration

var shouldReportNamespacePrefixes: Bool { get set }

Discussion

true if the parser reports the scope of namespace declarations, false otherwise. The default value is false.

The parser reports prefixes with the delegate methods parser(_:didStartMappingPrefix:toURI:) and parser(_:didEndMappingPrefix:).

See Also

Managing Parser Behavior