Please refer to the errata for this document, which may include some normative corrections. This document is also available in these non-normative formats: XML, XHTML with changes since version 1.0 marked, XHTML with changes since previous Working Draft marked, Independent copy of the schema for schema documents, Independent copy of the DTD for schema documents, Independent tabulation of components and microcomponents, and List of translations.
Copyright © 2012 This document specifies the XML Schema Definition Language, which offers facilities for describing the structure and constraining the contents of XML documents, including those which exploit the XML Namespace facility.
You can also perform read-only validation of XML content using the XPath Document class. The Validity property can be used to determine whether or not an individual attribute or element is valid when accessing attributes or elements with the XPath Navigator. The XML document is validated successfully as it is loaded without generating any schema validation errors or warnings.
The Xml Document class does not validate an XML document using either DTD or XML schema definition language (XSD) schema validation by default. When an XML document is loaded into an Xml Document object with an associated schema that defines default values, the Xml Document object treats these defaults as if they appeared in the XML document. The example then makes two modifications to the XML document that are invalid according to the schema.
If this is the incorrect namespace, perhaps the prefix of 'ns0: My Exception' needs to be changed.