private void LoadAsUnknownXml(XmlNS.XmlReader reader)
        {
            var doc = new XmlNS.XmlDocument();

            doc.XmlResolver = null;
            doc.Load(reader);
            XmlNS.XmlElement unknownXml = doc.DocumentElement;
            _metadataSections.Add(new MetadataSection(null, null, unknownXml));
        }
        private void LoadAsPolicy(XmlNS.XmlReader reader)
        {
            var doc = new XmlNS.XmlDocument();

            doc.XmlResolver = null;
            doc.Load(reader);
            XmlNS.XmlElement policy = doc.DocumentElement;
            _metadataSections.Add(MetadataSection.CreateFromPolicy(policy, null));
        }