I have an .xml file in a folder which is on the MATLAB path.
When I try to start MATLAB 7.3 (R2006b), I receive the following error from my info.xml file:
Warning: XML-file failed validation against schema located in: C:\Program Files\MATLAB\R2006a\sys\namespace\info\v1\info.xsd This will be an error in a future release.
In MATLAB 7.4 (R2007a) the following error is generated:
??? XML-file failed validation against schema located in: O:\sys\namespace\info\v1\info.xsd XML-file name: t:\1-39zxht\info.xml To retest the XML-file against the schema, call the following java method: com.mathworks.xml.XMLValidator.validate(... 't:\1-39zxht\info.xml',... 'O:\sys\namespace\info\v1\info.xsd', true) Errors: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content starting with element 'help_location'. The content must match '((((((((((("":matlabrelease),("":name)),("":MathWorksID){0-1}),("":type)),("":icon)),("":help_location){0-1}),("":product_name_ends_with_type){0-1}),("":help_addon){0-UNBOUNDED}),("":preference_panel){0-UNBOUNDED}),("":dialogpref_registrar){0-UNBOUNDED}),("":list){0-1})'.
Best Answer