private void Parse(bool saveInternalSubset)
{
if (_freeFloatingDtd)
{
ParseFreeFloatingDtd();
}
else
{
ParseInDocumentDtd(saveInternalSubset);
}
_schemaInfo.Finish();
#if !SILVERLIGHT
// check undeclared forward references
if (_validate && _undeclaredNotations != null)
{
foreach (UndeclaredNotation un in _undeclaredNotations.Values)
{
UndeclaredNotation tmpUn = un;
while (tmpUn != null)
{
SendValidationEvent(XmlSeverityType.Error, new XmlSchemaException(SR.Sch_UndeclaredNotation, un.name, BaseUriStr, (int)un.lineNo, (int)un.linePos));
tmpUn = tmpUn.next;
}
}
}
#endif
}