Xdocument validate not validating

Schema Attribute, schemas, Address Of XSDErrors) Console. The ' Lang' attribute is invalid - The value ' VC' is invalid according to its datatype ' Token' - The Enumeration constraint failed.


Write Line("Validating doc1"); bool errors = false; doc1.

Dim errors As Boolean = False Private Sub XSDErrors(By Val o As Object, By Val e As Validation Event Args) Console. Message) errors = True End Sub Private Function Add Name Space(By Val x Doc As XDocument, By Val ns As XNamespace) As XDocument For Each element As XElement In x Doc.



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>