Process XML with XmlReaderSettings. Should mitigate #89, LLSD-XML does not specify DTD so any DTD should be ignored not parsed.
This commit is contained in:
@@ -67,7 +67,7 @@ namespace OpenMetaverse.StructuredData
|
||||
IgnoreProcessingInstructions = false,
|
||||
DtdProcessing = DtdProcessing.Ignore
|
||||
};
|
||||
using (XmlReader xrd = XmlReader.Create(xmlStream))
|
||||
using (XmlReader xrd = XmlReader.Create(xmlStream, settings))
|
||||
{
|
||||
return DeserializeLLSDXml(xrd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user