Browse by Tags

Tagged Content List
  • Blog Post: XmlSchemaSet Thread Safety

    Here's a good word of warning: even if an object "feels" read-only because you're not calling code to modify it, if it's not documented as safe for use from multiple threads, then you shouldn't risk it. As an example, let’s look at XmlSchema and XmlSchemaSet . Initializing these has a cost associated...
  • Blog Post: XML Schema Facets

    I have received a number of requests over a period of time asking how to get all the facets defined on simple types or complex types with simple content in an XML Schema. I recently wrote a code sample for the same and I thought i will post it for wider consumption. The code sample will handle restrictions...
  • Blog Post: To Trust, or Not to Trust?

    Validation of an XML document against an Xml Schema guarantees that the structure and content of the xml conforms to the types defined in the schema. Does this mean that we automatically elevate the trust level of a document that has passed schema validation? Can we use schema validation as a security...
Page 1 of 1 (3 items)