private ISourceLineInfo SkipEmptyContent()
{
ISourceLineInfo result = null;
// Really EMPTY means no content at all, but for the sake of compatibility with MSXML we allow whitespaces
if (_input.MoveToFirstChild())
{
do
{
// NOTE: XmlNodeType.SignificantWhitespace are not allowed here
if (_input.NodeType != XmlNodeType.Whitespace)
{
if (result == null)
{
result = _input.BuildNameLineInfo();
}
_input.SkipNode();
}
} while (_input.MoveToNextSibling());
}
return result;
}