MATLAB: Do I receive errors from an info.xml file about invalid schemas when starting up MATLAB

info.xmlMATLABxmlxs

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

This enhancement has been incorporated in Release 2010b (R2010b). For previous product releases, read below for any possible workarounds:
Starting in MATLAB 7.0.4 (R14SP2), MATLAB uses the info.xsd schema to validate info.xml. The order of the tags is important for validation.
To correct the issue, ensure that the tags in info.xml follow the order listed in the following section of the MATLAB documentation: