Xdocument validate not validating
This is not a complete solution, but this might help you get to where you want to be.
Local Name Next Return x Doc End Function Sub Main() Dim xsd Markup As XElement = _ Dim ns As XNamespace = " doc1 = Add Name Space(doc1, ns) Console.
One of the items I would like to include in the output data is some schema information (such as the range of acceptable values for a numeric type).
In my current approach (which I am open to changing), I am able to capture everything I need except for the schema information.
If the file does not conform to the schema, it throws an error. If I try to validate an XDocument (containing schema xml) against a schema url, it validates successfully.....
Has anyone ever seen this before or know why it does this.