Table of Contents

Class RdlReader

Namespace
DocWright.Reporting.Rdl
Assembly
DocWright.Reporting.Rdl.dll

Reads a report definition (.rdl or .rdlc) into a ReportDefinition.

public sealed class RdlReader
Inheritance
RdlReader
Inherited Members

Remarks

Nothing is dropped. Every element, attribute and namespace declaration in the source becomes part of the model, whether or not DocWright models what it means. That is a structural property of the element tree rather than a promise this reader keeps element by element — see RdlElement.

The input is assumed hostile. DTDs are prohibited outright, no resolver is supplied so no external entity is ever fetched, nesting depth is bounded at the first walk (the failure it prevents is StackOverflowException, which no catch contains), and the element count is bounded because it is not proportional to input size. Malformed input surfaces as InvalidDocumentException; a breached bound as ResourceLimitExceededException. Never an uncontrolled throw.

Constructors

RdlReader()

Initializes a reader with default settings.

RdlReader(RdlReadSettings)

Initializes a reader.

Methods

Read(Stream)

Reads a report definition from a stream.