Undeclared XSD attribute : 'įollowed by a list of messages of the form: Error at xs:element on line 16 column 66 of test. It looks as if it has addressed the import schema issue? however I now get a new error: = 'DESC2Type']/simpleContent/extension/attribute Well, after mulling this over for the last few days, I am still not sure I entirely understand comments from Michael Kay other than the comment which suggested the xsd was pretty much useless so, as I am just about as useless as, I tried another this time and this is what I got: Looking at the documentation for the add method of XMLSchemaCache60, I cannot see any mention of this error. With the error The parameter is incorrect but I cannot see which parameter is causing the problem. What Does 'The Parameter Is Incorrect' Error Mean Solutions for 'The Parameter is Incorrect' Error in Windows 11/10 1. During the synchronization, GeniusConnect will replace the parameter tag with. The problem occurs here Call xSchema.Add("urn:schemas-microsoft-com:datatypes", LoadXML(dir & "sample.xsd")) Created with the Standard Edition of HelpNDoc: Easily create EBooks. ![]() ![]() Private Function LoadXML(strFilename As String) As MSXML2.DOMDocument60Ĭall MsgBox("Load XML document failed", vbCritical, "Warning")Ĭall MsgBox("Unable to find specified XML file to load", vbCritical, "Warning") I generated the schema online using the xml file so am reasonably confident there shouldn't be any errors there.ĭim xSchema As New MSXML2.XMLSchemaCache60Ĭall xSchema.Add("urn:schemas-microsoft-com:datatypes", LoadXML(dir & "sample.xsd")) I am trying to validate my xml against a schema but when I run the code, I am getting an error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |