Xml validation against xml schema in c # from portable class library

I need to validate XML stored in custom format (not XmlDocument

or XDocument

) in a C # class library.

The class System.Xml.Schema.XmlSchemaValidator

looks like it will conform to the bill since it doesn't rely on a specific format - the calling code inserts data into it. However, I don't believe it is available in the PCL profile, which includes Windows / Windows Universal, Xamarin for iOS and Android.

How can I validate an XML document against an xml schema in this situation?

+3
c # xml portable-class-library xsd xsd-validation


source to share


No one has answered this question yet

Check out similar questions:

1786
How can I create an Excel file (.XLS and .XLSX) in C # without installing Microsoft Office?
1658
Get int value from enum in c #
264
XML Schema Validator (XSD) Tool?
214
Generate C # class from XML
6
Port Class Library Profile 78 Missing Attribute Methods / Properties
2
Why is changing the XML schema and revalidating the cause causing a memory leak?
2
Create and validate XML against a schema in C # using XML namespaces
2
How do I validate an XML document against a schema in a Windows Store app?
2
Checking Xml in PCL
1
M2MQTT in Portable Class Library



All Articles
Loading...
X
Show
Funny
Dev
Pics